I have been going through Nehe’s opengl tutorials lately and have fully completed the first one…making my own header to simplify my commands and everything. I even used a timer to get a specific frame rate. I moved on to tutorial 2…everything seemed fine except for glTranslatef. If I don’t use the translate to move some amount negativly on the z-axis I cannot see the triangle or quad. I don’t understand how the glTranslatef function works. glLoadIdentity is suppose to bring you back to viewing the center of the screen… so if I drew in the triangle and quad I should be able to see them, however I can’t without using glTranslatef. It works with the values Nehe used for translate, and it also works with a translation on z-axis that is negative.
SORRY FOR THE LONG POST, I just wanted to make sure you understood what I was saying. Could someone please tell me what the glTranslatef function is suppose to do, and why I cannot see the figures without using it first. Thanks a lot!
[This message has been edited by blide (edited 06-27-2000).]