EasyGame Lesson03 – Build Complex Geometry and Animate them with OpenGL

A interactive game level is not a static environment, we need to add something to make the whole staff alive. We could blew the grass, make them swap to left or right.  Some animals work around, monsters walk and check the enemies. All of the above thing will require us the move the model with some rules. This could be done in the animation tools or driven by the AI logic in the character FSM. And this sample shows us how to animate some geometry in the C++ hard code with OpenGL API.
lesson03_screen_shot

The full source code could be found from here.

posted @ 2012-12-29 21:50  opencoder  阅读(171)  评论(0编辑  收藏  举报