An Easy Way to Animate a Mesh in Unity3D: UnityMorph

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

The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <p> <span> <div> <h1> <h2> <h3> <h4> <h5> <h6> <img> <map> <area> <hr> <br> <br /> <ul> <ol> <li> <dl> <dt> <dd> <table> <tr> <td> <em> <b> <u> <i> <strong> <font> <del> <ins> <sub> <sup> <quote> <blockquote> <pre> <address> <code>
  • Web page addresses and e-mail addresses turn into links automatically.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.