- 最后登录
- 2014-10-23
- 注册时间
- 2011-7-19
- 阅读权限
- 90
- 积分
- 81303
- 纳金币
- -1
- 精华
- 11
|
在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:
附件中有资源包文件下载,具体效果可直接找开源文件查看!
解压密码为:unity3d8.com
附件下载 |
|