PDA

View Full Version : Help with underwater texture...



ogcaveman
07-01-2003, 04:39 AM
I have an OpenGL application that I modified from an example that is not using GLUT, and I have a glut example that makes something appear that it is underwater using textures that I got from OpenGL.org.

Currently, I have a textured object, and I would like to make it look like it is underwater using the same method, but when I try to integrate the glut routines, my application explodes into space with an access violation as soon as it hits the call to glutDisplayFunc().

I am trying to do something that I think should be easy, but I would rather skip GLUT and do it a simpler way, rather than hand over my application to glutMainLoop() in the end.

mdog1234
07-01-2003, 08:07 AM
sounds to me that you are not using glut display func correctly. could you post some code for us to see