Okay I mentioned before in scripting that i was working on a way to easily animate a mesh in Unity.
It’s 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.
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. The included Unity file includes the Blender meshes so you can see how some of it was done and experiment.
Sure, same way I did: Just make a script that takes the xyz difference of each vertex and makes it into a color from 0 - 255, with 0 being negative shift, 128 being centered, and 255 being a positive shift.
The math is in the Python script. You should have an easier time getting help with 3dSM than I did with getting Python Blender info.
I was doing some searching for Blender info on this kind of thing to see if I could do this myself when I ran across your post here in the Unity forums. The funny thing is that I was doing it for a Unity project. That’ll teach me to look within our own community first, huh?