I'm new in OpenGL(LWJGL). Now I'm understand how to draw 2D Triangles/Squares(too Points
), set color to Triangles/Squares, Rotate Triangles/Squares.
But I'm stuck with how to draw real 3D objects(something like Pyramid, Cube). I'm know for pyramid I'm need Front,Back,Left, Right and for Cube need Front, Back, Left, Right, Top, Bottom vertices. I am copy this vertices from NeHe tutorial(http://nehe.gamedev.net/tutorial/3d_shapes/10035/
) and all work. But I'm don't understand how to set this vertices from mind. I'm only know how to set vertices for Front and Back, but how to left, right, etc. How all works?
Sorry for stupid question, but I'm don't understand. Maybe is good tutorial for this situation?
Thanks and sorry for my bad English language.