NeHe OpenGL Lesson09 - Moving Bitmaps in 3D Space

screen_shot7-300x241 So Cool!
Well, I would like to say that this sample shows us the beautiful and the magic of mathematic. The programming knowledge or OpenGL API involved in here are not too much or just a very little.
Of course the author should be at least a very creative guy. This sample make me think what is the super technique. Is it the complicated classes diagram that involved too many relationships, or some lines of assembly code that will solve some very trick problem, just some binary machine code example as 11010101000, or big software package with  a lots of features or even more. I have not answer yet. But I think the most important thing that we can not ignore is the mind, the ability that our brain use some  other tools or stuff  to create something very magic, beautiful, or even imaged by others. The creativity or solve problem creatively should be all programmers’ final destination. Of course, the author should not be a pure programmer, otherwise he could not easily build so many connections from the current points.

 

The techniques that involved here is the texture mapping, blending, set the translation, rotation and a bit triangles math functions.

 

This sample coded for the Ubuntu 10.4. You need to install gcc, cmake and opengl libraries to compile and run it.

 

The full source code could be found here.

posted @ 2012-08-23 22:38  opencoder  阅读(162)  评论(0编辑  收藏  举报