kas1e wrote:
"Later on, we implemented" - "we" mean we the Elbox ?
"We" means we, as in Hans-Jörg and me. The Warp3D drivers are never done by Elbox.
btw, where is the best way for create 640x480x16bit bitmap ?
i have 040/33 and want fast fading/scrolling/etc. can i do it
with warp3d ?
No, Warp3D can't allocate bitmaps. You need to allocate them via graphics.library, and make them a friend bitmap of your screen's or window's bitmap.
For example, load picture as texture, upload to
memory, lockhardware and put picture to screen (as texture).
I hope it can be fast ? I tryed this by cybergraphics.library
(by WritePixelArray) and have slow speed with scrolling these screen and fading too..
Forget WritePixelArray for such things. If you need to write an offscreen bitmap to the screen or a window, use ClipBlit, or Warp3D :-D It should be pretty fast with the Voodoo...
Note, though, as Crumb already said, that the Voodoo 3 can only do 256x256 textures... Yu can query that as well via W3D_Query... The P2, for example, supports up to 2048x2048.
If you need "odd" formats, create multiple textures, and draw them as "tiles", i.e. cut the picture into 256x256 blocks, and render them to the screen as 256x256 pixel quads or triangle fans.