PDA

View Full Version : Problem with Cube Maping



KRONOS
03-29-2001, 01:13 AM
My sphere doesn't reflect right! When I move around, it shows always the same thing... Like simple sphere mapping! And the textures are fliped!!! What am I doing wrong? I'm I enabling things right (GL_S, GL_T, GL_R)? The bubble demo from NVidia doesn't help a lot soooooo.... HELP!!!!

Thanks.

Rudi_P
03-29-2001, 01:50 AM
http://www.cs.unc.edu/~zimmons/cs238/maps/cubecode.html

The above URL gives you the needed code for view independance for cube mapping, it basically aligns the cube map with the world axes.

Rudi_P
03-29-2001, 03:34 AM
Look at the Dynamic Cube Mapping Discussion to see how I got around the textures being flipped, its not great but it works.