Header Banner
wonderhowto.mark.png
Gadget Hacks Next Reality Food Hacks Null Byte The Secret Yumiverse Invisiverse Macgyverisms Mind Hacks Mad Science Lock Picking Driverless
Home
C++

How to Create a spinning 3D cube with OpenGL, GLUT and C++

Apr 16, 2010 12:23 AM
"How to Create a spinning 3D cube with OpenGL, GLUT and C++" cover image

In order to complete this 3D spinning cube using OpenGL and GLUT for C++ programming, you need to know the basics of C++ programming. This video lesson covers everything you should already know. Check out the other videos to get the full gist:

1. Creating basic 3D shapes

2. Using transformations and timers

3. Adding color to 3D scenes

4. Adding lighting to 3D scenes

5. Adding texture to 3D objects

This lesson puts everything in those lessons together, in order to crystallize what you have learned. Since we love spinning objects so much, we want to make a spinning cube with two sides textured, two sides solid-colored, and two sides with a color gradient.

*Get the text version of this lesson.

*Download the source code.

*Try out the exercises.

Check out the other videos in this video series.

URL Preview
Create a spinning 3D cube with OpenGL, GLUT and C++

Click through to watch this video on videotutorialsrock.com

External Content
www.videotutorialsrock.com

You already know how to use your phone. With Gadget Hacks' newsletter, we'll show you how to master it. Each week, we explore features, hidden tools, and advanced settings that give you more control over iOS and Android than most users even know exists.

Sign up for Gadget Hacks Weekly and start unlocking your phone's full potential.

Related Articles

Comments

No Comments Exist

Be the first, drop a comment!