Hey I’m trying to render a skydome in the following way.
-
Compute dome coordinates.
-
Draw dome using GL_TRIANGLE_STRIPS (Figure out vertex indicices).
-
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.