Horde3D http://horde3d.org/forums/ |
|
Animation sharing and Morpher http://horde3d.org/forums/viewtopic.php?f=2&t=448 |
Page 1 of 1 |
Author: | sebastiend [ 26.07.2008, 19:21 ] |
Post subject: | Animation sharing and Morpher |
Have a nice week-end, community, In this first week-end ending day, I have two questions. What are the requirements to make two different models share an animation, if possible? What is the purpose of the setModelMorpher function? |
Author: | Volker [ 26.07.2008, 21:49 ] |
Post subject: | Re: Animation sharing and Morpher |
The two models should have the same skeleton with the same names for their joints. Then I think it shouldn't be a problem to use the same animation for two different models. Just use the same animation resource. In the chicago sample there are quite a lot models using the same animation resource. The setModelMorpher method is for applying morph targets on your model, e.g. for facial animations. |
Author: | sebastiend [ 28.07.2008, 07:18 ] |
Post subject: | Re: Animation sharing and Morpher |
Are morpher targets inside animation files? Does it repeat it indefinitely? What are steps to use it correctly? |
Author: | Volker [ 28.07.2008, 07:50 ] |
Post subject: | Re: Animation sharing and Morpher |
No, morph targets are encoded within the model file. You can set a specific state of a morph target using the method mentioned above. These aren't animations like keyframe animations. If you have morph targets (also known as shape keys in blender) you can interpolate between the normal position and the morph target position by setting the weight to a value between 0 and 1. While zero means the morph target is not applied and 1 means the morph target is fully applied. |
Page 1 of 1 | All times are UTC + 1 hour |
Powered by phpBB® Forum Software © phpBB Group https://www.phpbb.com/ |