LWJGL Forum

Programming => LWJGL Documentation => Topic started by: pascal on April 09, 2006, 12:52:38

Title: newbie wants to rotate a cube
Post by: pascal on April 09, 2006, 12:52:38
hi

i am new to GL and lwjgl. i followed the easy examples on the wiki for rotation of "2D" objects.
now i want to do this with a cube but i do not suceed (the cube never shows... i guess i do something wrong with perspective/translation/ortho ?).
can someone point me to example code with some explanations ?


thanks


pascal
Title: newbie wants to rotate a cube
Post by: Matzon on April 09, 2006, 18:09:16
check the basic 3D tutorial at NeHe:
http://nehe.gamedev.net/data/lessons/lesson.asp?lesson=05
Title: newbie wants to rotate a cube
Post by: pascal on April 15, 2006, 08:52:25
i knew this before but did not realize that there is LWJGL example code there.
thanks.


pascal