I've mentioned before in scripting that i was working on a way to easily animate a mesh in Unity (what's Unity3D?), and... it is done! How this works?
- You make your mesh just like normal, building, setting UV texturing, Even boning and animating.
- You then make a copy of the base neutral mesh and reshape it so what you need. (normal face into a smiling face)
- You then use the blender script to make a color Diff map in the vertex color data of the mesh, and then using baking to render that into a UV texture.
- Do this for each new shape.
Then, you...
- Now, you copy those diff maps into Unity, with the base mesh (either a static mesh or an animated character).
- Drop the Morph API script into your model, and make a script to send morph animation commands to it remotely.
The above is missing a lot of steps, but I just got this demo done today, so I'm a bit tired. More details coming soon! The Unity file includes the Blender meshes so you can see how some of it was done and experiment. And the results? See here:
Unity 3D - UnityMorph Demo Scene
Trackback URL for this post:
http://rezzable.com/trackback/2619





Comments
Post new comment