标题: 在unity3d中实现网格动画的快捷方法:UnityMorph [打印本页] 作者: 会飞的鱼 时间: 2011-12-28 17:35 标题: 在unity3d中实现网格动画的快捷方法:UnityMorph 在unity3d中实现网格动画的快捷方法:UnityMorph(转,老外开发的一个接口资源包)
由 uke 发表
暂时还没搞明白实现的思路,好像是UV动画?不过确实蛮快捷的。
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: