View Full Version : Dynamic Cube Maps

11-04-2002, 01:51 AM
I'd like to include dynamic cube maps in my project. As far as I understand I need to create cm textures dinamicaly. So I must call 6x [gluLookAt(...), glCopyPixels(...)] and then use these 6 textures as my cm. And finally draw the object using created cm.
Is this the right way? How many passes that'll take? Maybe there is better way?

11-04-2002, 07:40 AM
Here's a tutorial which should help you. It requires some OpenGL extensions, but should run on most Radeon and Geforce, I think.

The tutorial at the bottom is the one you're looking for.

Hope that helps!

11-04-2002, 10:49 PM
Thanks, now I got it http://www.opengl.org/discussion_boards/ubb/smile.gif