Which ones faster - display lists or saving picture

Started by
11 comments, last by clum 20 years, 5 months ago
I can''t find a cross-platform way of doing this.

The official zorx website
Zorx (a Puzzle Bobble clone)Discontinuity (an animation system for POV-Ray)
Advertisement
Why not just use glReadPixels?

Failing that you can just use SDL and convert your SDL_surface to a GL texture.

My Website | Everything you need to know about 3D Graphics | Google | Search the Forums

[edited by - Luke Philpot on October 29, 2003 1:11:04 AM]
You guys are making this way to complicated.
do this at initialization:
1. render just the background normally
2. use glCopyTexImage to put the data into a texture
3. clear the color buffer (and zbuffer, if you are using that for some reason)
4. when you want to render the background, render a quad with that texture streched across the whole screen.

There, that is completely portable, and should work.

------------------------------
BASIC programmers don''t die, they just GOSUB and don''t return.
------------------------------BASIC programmers don't die, they just GOSUB and don't return.

This topic is closed to new replies.

Advertisement