View Full Version : Help with rendering Skydome and openGL debugging

12-20-2010, 02:24 PM
Hey I'm trying to render a skydome in the following way.

1. Compute dome coordinates.
2. Draw dome using GL_TRIANGLE_STRIPS (Figure out vertex indicices).

3. Map u,v coordinates for texture mapping.

I'm having trouble getting 2 to work. Does anyone know of any good online resources for rendering skydomes?

Also I'm relatively new to opengl (about 3 months) but I am having great difficulty debugging code. Are there any good programs/methods to debug opengl code besides using print statements.