On 30/06/2015 at 08:44, xxxxxxxx wrote:
I'm using version @98733.
Yes, I consider static objects as objects with no keyframes in Cinema.
To get the keyframes I call GetFirstCTrack(), then GetCurve(), and loop through all the keys and their PSEUDO_VALUEs.
I just updated my code to the latest melange lib (huge change), but same is happening.
I have a few models that I'm using as test cases, and I just found a few inconsistencies. I mean inconsistencies because I can't see a pattern in how scenes are being saved when using the "Save Animation for Melange" option.
Just think about this simple case I'm dealing with:
why am I getting different global and local matrices when I have the "Save animation to melange" option enable and when I don't?
This behavior got me thinking... probably, if I apply the transformations I'm getting from the keyframes I end up with the correct final transform. And I was right, except that I wasn't. Sometimes it works sometimes it doesn't.
At this point, my only option seems to be to ask the user to disable the option in Cinema4D when he doesn't want an animated object, and enable it when he want's anything animated.
I can send you a few example files if you want.