I am a beginner to openGL. I am trying to draw 3 dimension coordinates in x,y and x. Whenever I draw lines using vertices, i.e. glVertex3f(0.,1.,0.), etc. I only get output in x and y, no z. I tried changing the glBindTexture(GL_TEXTURE_2D, etc) to GL_TEXTURE_3D and I get an “undeclared Identifier” error. I am wondering the following:
1.) would this be the correct place to change from 2D to 3D?
2.) is the 3D variable a new addition in the “glext.h” include file and do I need to download and add?
Please let me know, Sid Kraft