Well, after trying everything I could think of on this problem, I decided to try CBoard.
I've been trying to learn OpenGL for a little while now, and this is about my fifth stab at it.
All this program does is init OpenGL, load a cube model, print the cube, allow you to rotate the cube, and quit when <ESC> or <space> is pressed.
Now, when I try to add in lights, the color of the cube changes. Also, when I rorate the cube, the color of the cube changes. And, when there are no lights, the sides of the cube are multi-coloured. When I add in the lights, they are a solid color. Any ideas?
Thanks.



LinkBack URL
About LinkBacks


