From: | Rady Marusa |
Date: | 16 Sep 2000 at 22:35:49 |
Subject: | Re: AMIOPEN: Dev Questions |
Hello,
>> Although it's illegal to write directly to a pixmap buffer, you have an
>> option in some cases. You can allocate yourself memory for your internal
>> buffer, write to it as needed and then create a pixmap out of it, by
>> passing its pointer as the first argument to ave/avo/pix/*bit/open (check
>> <ave/avo/pix/api.html>). After that, though, it's not a good idea to keep
>> writing in the buffer bypassing the pixmap API.
JvdL> This is somewhat disturbing to me. Using the pixmap plot routines is just
JvdL> way too slow to do anything fancy. Allocating a writing to a programmer
JvdL> supplied image buffer is just such an often used operation in games, demos,
JvdL> and anything else that needs to do a lot of changes from frame to frame.
JvdL> Saying that one must use ave/ave/pix/plot to draw your image is just
JvdL> stupid IMHO. How does Tao's port of Quake and Doom do it?
I agree!
Pixmap methods are great for applications and simple games,
but really not for fast, hi-quality games.
But we need direct access to videoram framebuffer, not to
pixmap buffer.
Rady/Ablaze.
Subscribe/Unsubscribe: open-request@amiga.com
Amiga FAQ: http://www.amiga.com/faq.html