我有一个.fbx或.zbrush格式的人工3D模型。我想要写一个程序,读取模型,并显示它(写到图像文件)在一个特定的姿势。
我想通过指定几个变量(不超过几百个)来定义姿势,例如,骨头间的角度。因此,一个程序得到一个模型和一个描述姿态的变量列表,并返回图像。
有哪些工具(语言和库)可以做到这一点?
我知道统一可以加载.fbx,但我不知道它是否是解决问题的首选工具。我不需要动感模型的动感:只需要给程序打个电话--一个姿势。我所需要的是高质量的图像,我指的是高分辨率和自然的四肢弯曲,和简单的脚本。
发布于 2017-04-28 12:14:37
具有United3D的解决方案:
通过脚本旋转骨骼
http://answers.unity3d.com/questions/327196/rotating-a-bone-via-scripts.html
http://answers.unity3d.com/questions/985631/how-can-i-rotate-a-bone-from-script.html
http://answers.unity3d.com/questions/126368/how-to-rotate-a-bone-during-an-animation.html
https://forum.unity3d.com/threads/rotating-a-bone-with-script.312464/
捕获截图
https://docs.unity3d.com/ScriptReference/Application.CaptureScreenshot.html
https://ralphbarbagallo.com/2012/04/09/3-ways-to-capture-a-screenshot-in-unity3d/
在任何三维建模程序中,手动旋转都会更容易。
https://stackoverflow.com/questions/43678552
复制相似问题