Original Post
Hi,
I am just wondering how to get rotation working. I have been working on this for a while now and still no result
.
Can anyone write a simple program of a 3D cube, which rotates left or right when a specific key is pressed, and goes up and down when a key is pressed.
If you can use the GL_POLYGON method in the draw() function to draw the cube, it would be great.
I am using Linux, with GLUT.
Also, can anyone explain to me how Blending works (e.g. see thought glass) and how Cylinders work?
What code do I have to use to achieve blending and cylinders.
Ive looked at many tutorials but my program just doesent compile. If anyone can write me the cube program it would REALLY help me out. And some tips on Blending and Cylinders would also be nice.
Thanks a lot