![]() |
animations - trim and blend
Hi,
I have a great animation I am using that was created using motion capture. Because of this I can only use the final CAF file. The thing is, I want to use only a portion of it. I am able to start the animation at different times using setAnimationTime and stopping it when I want using timers or vizact.waittime (is there a simpler way?). All this is fine except that there is no blending between my cycled animation and the one I use as above. Is there any way I can blend the beginning and the end of an animation when using setAnimationTime and stopAnimation to make them look smoother? Thanks, Ori |
The best option is to export only the portion of the animation you want. If you can't do this then you can manually set the weight of the animation every frame by re-executing the animation. This means you would have to calculate the blending weight, but it is definitely possible. Here is a sample script that shows how to do this:
Code:
import viz |
Thanks a lot! this code works great. I believe I can play with it and find a solution for my problem :)
Thanks again, Ori. |
All times are GMT -7. The time now is 01:26 PM. |
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
Copyright 2002-2023 WorldViz LLC