Path: chuka.playstation.co.uk!news From: James Russell Newsgroups: scee.yaroze.programming.2d_graphics Subject: Re: A Sprite Question Date: Thu, 24 Sep 1998 22:02:07 +0100 Organization: Sony Computer Entertainment Europe Lines: 31 Message-ID: <360AB34F.4F5EA95E@scee.sony.co.uk> References: <360aaec5.736611@news.playstation.co.uk> NNTP-Posting-Host: mailgate.scee.sony.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.5b1 [en] (Win95; I) X-Accept-Language: en Richard Cutting wrote: > > Well just when you think that your getting the hang of this Yaroze the > bloody thing gets up and bites you. This question is going to sound > really dumb and I have probably done something really dumb but I > cannot any sprites to display at a priority other than 0. I've tried > setting my OT_LENGTH to everything from 4 ( which is what I actually > will probably want ) to 14. I've run the program with only 1 sprite > being displayed so it can't be being clipped out of existence but the > bloody thing just refuses to display anything. Anyone got any ideas ? Sprites? As in 2D images? Sprites can be displayed at whatever priority you want - you specify that when you make the GsSortSprite call. And GsSprites aren't clipped (unless they're _completely_ off the screen). If you can't see it, then maybe you haven't loaded in your TIM, or the TIM isn't loaded to the right place. In the FAQ there is some code which loads a TIM and can optionally set up a 'basic' GsSprite for you. Regardless of the length of the OT, you should still be seeing something - the length of the OT is not related to how many polygons are on screen, just how accurately they are sorted. The length has nothing to do with clipping. When I'm testing graphics and I can't see anything, I sometimes use a GsLINE to test whether I'm setting my display up correctly, or whether it's a misplaced TIM. Cheers, James -- == James_Russell@scee.sony.co.uk +44 (171) 447-1626 == Developer Support Engineer - Sony Computer Entertainment Europe Nobody home but the lights, and they're out too.