Path: chuka.playstation.co.uk!news From: James Russell Newsgroups: scee.yaroze.programming.2d_graphics Subject: Re: Pixels Date: Thu, 10 Dec 1998 15:33:44 +0000 Organization: Sony Computer Entertainment Europe Lines: 21 Message-ID: <366FE9D8.7A7E3A45@scee.sony.co.uk> References: <74hpoj$8bc4@chuka.playstation.co.uk> <74huvo$8bc5@chuka.playstation.co.uk> <74mrbe$8bc13@chuka.playstation.co.uk> <74n2b4$8bc16@chuka.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.5 [en] (Win95; I) X-Accept-Language: en Peter Dollochan wrote: > > In an attempt to over simplify the problem and hide my lack of knowledge :) > you would note that the vram is just 16bit memory locations and if you set > up the RECT struct properly you can write and read single pixels. > > Dont know if its mentioned in James Russells FAQ or not. I've put something in the FAQ about reading/writing individual pixels (and collision detection), but recall that the results of a StoreImage will be from frame X, when the CPU will be busy processing frame X+2. You can get this down so that the results are only from the previous frame though. Cheers, James -- == James_Russell@scee.sony.co.uk +44 (171) 447-1626 == Developer Support Engineer - Sony Computer Entertainment Europe Lando, Lando, he's our man! If he can't do it ... we'll get Han!