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
Real-Time Rendered Objects in Pre-Rendered Scenes?
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
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
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement