Path: chuka.playstation.co.uk!news From: James Rutherford Newsgroups: scee.yaroze.beginners Subject: Re: Getting a sprite to leave a trail Date: Fri, 05 Jun 1998 13:25:51 +0100 Organization: The Hex Heroes Lines: 12 Message-ID: <3577E3CF.5A90@writeme.com> References: <356C9B7A.C18CCEE4@easynet.co.uk> <3575B927.1D3140CD@mail.datasys.net> <3575C2B2.48A863A4@netmagic.net> NNTP-Posting-Host: atl4-040.publab.ed.ac.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.03 (Win95; I) > The only problem I see with this is that since you have 2 frame > buffers, the amounts of trailing are going to be different because > the updates to each frame only happen every other frame. One way > to compensate for this is to let the Yaroze always display frame > buffer 0 and only draw in frame buffer 1. Wait for the vsync > interrupt and then do a MoveImage() from buffer 1 into buffer 0. > This would ensure that you have a "perfect" copy of the workspace > at the cost of the extra GPU cycles to copy memory... Or you could make both frame buffers point to the same display area. James (~mrfrosty).