Path: chuka.playstation.co.uk!news From: "Rad" Newsgroups: scee.yaroze.programming.2d_graphics Subject: Re: Accessing VRAM directly Date: Tue, 29 Jun 1999 13:54:55 +0100 Organization: PlayStation Net Yaroze (SCEE) Lines: 27 Message-ID: <7lafvn$11115@chuka.playstation.co.uk> References: <37789961.AB473632@mcneish.freeserve.co.uk> NNTP-Posting-Host: modem-123.name49.dialup.pol.co.uk X-Newsreader: Microsoft Outlook Express 4.72.3110.5 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 Bruce McNeish wrote in message <37789961.AB473632@mcneish.freeserve.co.uk>... >Just a quick question. > >Is it possible to read/write directly to/from the video buffer to >generate real-time images. Nope, at least not with the libs. >I ask because I am trying to read the properties of individual pixels >within an image for perfect collision detection. You can copy pixels between video ram and main ram using LoadImage and StoreImage then access the pixel data in main ram but doing it this way means that by the time you access the pixels in main ram two frames have already passed. Check the faq or collision detection threads for ways to do pixel perfect collision detection. Rad. rad@cyberdude.com http://www.netyaroze-europe.com/~radpsx