I'm new in 3D games developing so I have kinda dummy question - how to move a mesh in 3D engine (under moving I mean a walking animation). And how开发者_如何学编程 to dress some skin on it?
What I have:
- open source 3D OpenGL engine - NinevehGL http://nineveh.gl/. It's super easy to load a mesh to. I' pretty sure it will be awesome engine when it will be released!
- a mesh model of the human. http://www.2shared.com/file/RTBEvSbf/female.html (it's mesh of a female that I downloaded from some open source web site..)
- found a web site from which I can download skeleton animation in formats: dao (COLLADA) , XML , BVH (?) - http://www.animeeple.com/details/bcd6ac4b-ebc9-465e-9233-ed0220387fb9
- what I stuck on (see attached image)
So, how can I join all these things and make simple game when dressed human will walk forward and backward?
The problem is difficult to answer, because it would require knowledge of the engine's API. Also you can't just stick a skeletal animation onto some mesh. You need some connection between both, a process called rigging, in which you add "bones" (also called armatures) to the mesh. This is an artistic process, done in a 3D modeller. Then you need to implement a skeletal animation system, which is a far too complex task to answer in a single Stackoverflow answer (it involves animation curve evaluation, quaternion interpolation, skinning matrices, etc.).
You should break down your question into smaller pieces.
I'm a BETA Tester for Nineveh Engine. Currently, the engine does not support bones/skeleton animation. This will be a part of their next release version which is upcoming in next 4-8 months.
Future (Roadmap)
Version 0.9.3 : Q4 2011 - Q1 2012
Bones, Rigging and Mesh's Animations.
Mesh Morph.
You might want to checkout http://nineveh.gl/docs/changelog/
精彩评论