Real-Time Rendered Objects in Pre-Rendered Scenes?

Started by
10 comments, last by Hello Kitty 16 years, 9 months ago
Uh... your link leads me back to this thread. O_O
Could you please show me how to create a texture with depth components from a 'float' array, or maybe point me to some useful document?
In fact, I don't know how to create any kind of OpenGL texture at all... the library I use does it for me. *BLUSHES*
Damn it... I'm stuck with this all day.
OpenGL makes the basic things even more basic and everything else a nightmare.
Several years ago I've done the same thing in software mode in about an hour. x_x
Advertisement
Why not use opengl to render the "pre rendered scene"
Use opengl to render the multi-million polygon scene with pixel shaders, anti aliasing etc.
Sure it takes opengl a few minutes to generate such a complex color image, as well as the correct zbuffer, but thats ok.

Save both images, and then use them in your realtime project.

meow
-goodbye-

This topic is closed to new replies.

Advertisement