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.
本文探讨了数学的美妙与编程的创造力,通过一个简单的样例展现了纹理映射、混合、平移、旋转及三角函数等技术。作者认为,真正的超级技巧不仅仅是复杂的类图或汇编代码,而是创造者的心智和解决问题的能力。该样例使用OpenGL API,并在Ubuntu 10.4上用CMake和GCC编译。
129

被折叠的 条评论
为什么被折叠?



