Saturday, August 21, 2010

Which programing language(c#, Java,...) can help me to control a 3d model (for example a character in 3d max)?

Which programing language(c#, Java,...) can help me to control a 3d model (for example a character in 3d max)?


for example with pressing a key my character raise his hand or smile. I don't wanna a game maker program.Which programing language(c#, Java,...) can help me to control a 3d model (for example a character in 3d max)?
With the right libraries and the model saved in the right format - any of them. All of these languages do have 3D gaming libraries available, and it's possible to manage a model with any of them.





However, it's a difficult proposition. Getting the format exactly right is difficult, and you really need to understand how the model is constructed (all the bone names or named animations, for example.)





The easiest way to do this is with Blender, because it includes both a 3D modeling program and an integrated game / physics engine. In blender, you'd use the following steps:


Create your model's mesh -adding textures and whatnot.


Create a skeleton armature to handle the underlying bone structure


Go to the actions editor to build actions (smiling, waving left hands, and so on)


Each action is essentially a timeline with a series of keyframes defined, showing various poses.


Use either Python (built in to blender) or the game engine to map a key to a particular action.


You can then save the file as an executable in any of the major operating systems.





http://www.blender.org

No comments:

Post a Comment