Path: chuka.playstation.co.uk!news From: Craig Graham Newsgroups: scee.yaroze.programming.2d_graphics Subject: Re: bright sprite, I dont want a fight, not tonight, I just want to get it right, can someone shed some light ? Date: Mon, 23 Mar 1998 12:22:19 +0000 Organization: Intelligent Research Lines: 56 Message-ID: <351653FB.BDF51E2F@intelligent-group.com> References: <6f159h$f1o4@chuka.playstation.co.uk> <6f15rp$f1o5@chuka.playstation.co.uk> <6f16i5$f1o6@chuka.playstation.co.uk> <6f16u7$f1o7@chuka.playstation.co.uk> <6f1r5u$f1o8@chuka.playstation.co.uk> <6f2u0m$f1o11@chuka.playstation.co.uk> <6f31qs$f1o12@chuka.playstation.co.uk> <6f3avr$f1o13@chuka.playstation.co.uk> <6f3fi4$f1o14@chuka.playstation.co.uk> NNTP-Posting-Host: 194.131.235.3 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.03 [en] (Win95; I) Sanity check here Steve.... A "Sprite" isn't a sprite in the way you're thinking of it at all. When you call GsSortSprite() it puts the equivalent of MoveImage() instruction into the GPU packet buffer (and a ref to it in the OT). Once the instruction is generated anything you do the the GsSPRITE struture will have no impact on the "sprite" that gets displayed - because it's not really a sprite (a true sprite is an independant entity overlayed on the video plane by the hardware, which is what's confusing you here). It's useful really, 'coz it means you can re-cycle the same GsSPRITE structure several times (eg. if you're doing a font driver, make sure all the characters fit onto one texture page and just keep changing the texture UV's and sorting the same sprite over and over to display a string). Craig. Steve Dunn wrote: > > > >Changing the sprite parameters won't > have any effect after the sprite has > >been sorted into the ordering table. > Thats a shame. > > >By "displaying" do mean the > >GsSortSprite or the GsDrawOT? > > > Yes, either that of GsSortFastSprite. > > Steve > > >>Are you changing the brightness > 'after' > >>displaying the sprite ? I too can > >>change the brightness 'before' showing > >>the sprite, it's just that nothing > >>happens 'after' displaying the sprite. > >>I'm using 8bit clut texture > > > > > >Changing the sprite parameters won't > have any effect after the sprite has > >been sorted into the ordering table. By > "displaying" do mean the > >GsSortSprite or the GsDrawOT? > > > >Mark > > > >