Archived

This topic is now archived and is closed to further replies.

3D Cube help

This topic is 4987 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post


Link to post
Share on other sites