Path: chuka.playstation.co.uk!news From: Brian Baird Newsgroups: scee.yaroze.programming.2d_graphics Subject: Mem <--> VRAM problem Date: Mon, 21 Sep 1998 09:43:17 +0100 Organization: DMA Design Ltd Lines: 16 Message-ID: <360611A5.1300@dma-design.com> Reply-To: brian@dma-design.com NNTP-Posting-Host: 195.153.133.80 Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Mailer: Mozilla 3.0 (Win95; I) I'm working on a nice, simple graphical effect that's done on a pixel by pixel basis. At the moment, I'm simply putting each pixel in as a one pixel length line. It works, but it's completely inefficient. I did a little playing about with LoadImage etc, trying to build the 'block' up in main memory, and then transferring it over to VRAM. Unfortunately, I got total garbage as a result. The pixel data generated by doing a GsSortLine is different to the data I generate... Anyone got any example code snippets for building up a graphic in main memory? Or are there even better, faster ways of doing what I want? -- Brian @ DMA [ All opinions & views are my own, not DMA's, yadda, yadda, yadda ]