Path: chuka.playstation.co.uk!news From: James Russell Newsgroups: scee.yaroze.programming.2d_graphics Subject: Re: Graphics Prob. Date: Thu, 19 Nov 1998 10:07:08 +0000 Organization: Sony Computer Entertainment Europe Lines: 37 Message-ID: <3653EDCC.7A6AE27@scee.sony.co.uk> References: <364f5c47.4485932@news.playstation.co.uk> <364FEDD9.CC317D78@scee.sony.co.uk> <36532667.11071933@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.5b2 [en] (Win95; I) X-Accept-Language: en Mark wrote: > > any other ideas?? Ok so if you've read the FAQ then you've confirmed that: o Your GsSPRITEs are set up correctly. Check it AGAIN, one little mistake and you see zilch o The sprite image is in VRAM (confirmed with MoveImage) o Your OT's are set up correctly o You're setting your packet base every frame. o Your X/Y coordinates are sensible. o Your Sprite RGB values aren't 0. Here's a very basic loop for drawing a sprite (after initialisation) - are you missing any of these calls out? (This is off the top of my head, apologies if _I've_ missed anything out or the params are incomplete). while(1) { buff = GsActiveBuffer(); GsSetWorkBase(PacketArea[buff]); GsClearOT(&OrderingTable[buff]); GsSortSprite(&MySprite,&OrderingTable[buff],0); DrawSync(0); VSync(0); GsSwapDispBuff(); GsSortClear(&OrderingTable[buff],0,0,0); GsDrawOT(&OrderingTable[buff]); } Cheers, James -- == James_Russell@scee.sony.co.uk +44 (171) 447-1626 == Developer Support Engineer - Sony Computer Entertainment Europe Anything not nailed down is mine. Anything I can pry up is not nailed down.