Path: chuka.playstation.co.uk!news From: "Colin Hughes" Newsgroups: scee.yaroze.programming.2d_graphics Subject: Re: Sprite bug ? or me ? Date: Fri, 10 Jul 1998 16:39:40 +0100 Organization: PlayStation Net Yaroze (SCEE) Lines: 38 Message-ID: <6o5d5l$9o5@chuka.playstation.co.uk> References: <359E28D7.4E53@livemedia.co.uk> NNTP-Posting-Host: camfw01.millennium.co.uk X-Newsreader: Microsoft Outlook Express 4.72.2106.4 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.2106.4 Fast Sprites ( not scaled or rotated ) must have even u co-ords, and even widths ( Because the GPU renders them 2 pixels at a time ) The X position is not limited however. Colin. Charlie wrote in message <359E28D7.4E53@livemedia.co.uk>... >Hi, > >I've got some strage behaviour happening with a some sprites. >The sprites I'm using are 8 pixels high, and vary between 6,7,8,9 pixels >wide, and they're being used with no scaling or rotation. > >What seems to be happening is that occasionally, on some of them, one >vertical line in the sprite is drawn twice causing a distortion effect. >Almost like its trying scale it horizontally in some way. Does that make >any sense ? > >Are there any known bugs with sprites ? Any one got any ideas ? > >One thing has just occured to me .. The source image is an 8-bit 256 >pixels square image, with the sprites living at various locations in >there. I'm setting up a base GsSPRITE with u,v=0,0 and w,h=256,256 and >then I'm copying various regions from the source image by modifying the >u,v and w,h values of this base GsSPRITE. What I'm not doing is >recalculating the 'Texture Page' info every time. Should this work ok ? >It seems to other than the bug I'm talking about. > >Hope some of this makes sense to someone ! > >cheers > >Charlie > >P.S. Has the world cup and England Argentina etc, just bypassed Yaroze >users, or is everyone just keeping out of the ng's, or does no-one care!