Path: chuka.playstation.co.uk!news From: ScoTT Campbell Newsgroups: scee.yaroze.programming.2d_graphics Subject: Re: LoadImaga and FntPrint Date: Tue, 06 Oct 1998 21:11:37 +0100 Organization: PlayStation Net Yaroze (SCEE) Lines: 33 Message-ID: <361A7979.D88C9470@escotia.freeserve.co.uk> References: <6ug1n0$ja96@chuka.playstation.co.uk> <6uidgd$ja915@chuka.playstation.co.uk> <360CCEB5.F14D6B01@scee.sony.co.uk> <36165A7C.773C47C2@escotia.freeserve.co.uk> <3616AC8D.4392373C@escotia.freeserve.co.uk> <361A5B66.CD155979@ndirect.co.uk> NNTP-Posting-Host: modem-64.aluminum.dialup.pol.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 4.05 [en] (Win95; I) I actually started off using GsSPRITEs, and creating a separate OT for the background. But when I set the point field using GsClearOt(), merged that OT with the world OT and then tried to draw the result I just got a GPU timeout. If I didn't set the point field then the background got drawn on top of everything. Since I didn't know how to get it going using sprites I just used the next best thing. At the moment I'm using MoveImage to create my background tile by tile, but I reckon I'll have enough space in VRAM to create a 3rd buffer to store the background, and then move it across as a single MoveImage. This should be at least as fast as anything else. You are right though. When I was using sprites and creating the packets every loop, it was just as fast as it is now using MoveImage. So if you were using pre created packets every loop it would definitely be faster than using multiple MoveImage's. Cheers ScoTT Alex Herbert wrote: > MoveImage for a tiled background eh? Personally I think you'd be much better off using sprites. They tend > to be quicker and you can use 4/8-bit textures which saves VRAM makes things even quicker. And don't > forget, you can recycle yor GsSPRITE structure. (i.e. once a sprite is sorted into the OT, it's sorted, so > you can modify the contents of the stucture then sort it again for your next tile.) > > Hope this helps. > > Herbs