From: | Jarno van der Linden |
Date: | 16 Sep 2000 at 06:28:25 |
Subject: | Re: AMIOPEN: Dev Questions |
On Fri, 15 Sep 2000, Rudi Chiarito wrote:
> 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.
This is somewhat disturbing to me. Using the pixmap plot routines is just
way too slow to do anything fancy. Allocating a writing to a programmer
supplied image buffer is just such an often used operation in games, demos,
and anything else that needs to do a lot of changes from frame to frame.
Saying that one must use ave/ave/pix/plot to draw your image is just
stupid IMHO. How does Tao's port of Quake and Doom do it?
---JvdL---
Subscribe/Unsubscribe: open-request@amiga.com
Amiga FAQ: http://www.amiga.com/faq.html