Advertisement

OpenGL Pixmaps

Started by April 16, 2001 01:53 PM
1 comment, last by pollier 23 years, 7 months ago
I am trying to render objects on a prerendered background, and I have a bitmap(pixmap?) to use as the background. I know how to do it all, but I want to optimize the pixmap drawing. Is glDrawPixels the fastest way to draw the bitmaps?
"No break 'till you die!" - Mr. Foster, my English teacher
glDrawPixels is slow. I think the best way is to draw a quad that is textured with the bitmap.
-----------------------------Reporter: Are they slow-moving, chief?Sheriff: Yeah, they're dead. They're all messed up.-Night of the living dead
Advertisement
textures are the quickest way. or if you can do wgl_buffer_region use that (demo on my site)

http://members.xoom.com/myBollux

This topic is closed to new replies.

Advertisement