|
Hi,
I need a function to find leaps/jumps in a curve and change those keys to constant. I’m thinking of comparing key by key with the previous 5-10 keys and if I find a relatively large leap in values, the previous key is set to constant.
Sounds like the right way? Anyone done something similar?
/Claes
|
|
|
|
Is the automatic interpolation not doing what you want?
~Kristine
KRISTINE MIDDLEMISS | SENIOR DEVELOPER CONSULTANT
AUTODESK DEVELOPER NETWORK Media & Entertainment
http://www.autodesk.com/joinadn
|
|
|
|
"Automatic interpolation”?
The function is need for a camera switcher. I don’t want any interpolation where there’s a camera switch.
I have done a version of what i described above, and it works pretty good :)
|
|
|
|
Sorry, I was confusing ‘automatic’ isn’t the right term, I just meant it should interpolate between key gaps. but I didn’t realize you were using the camera switcher.
Glad to hear you have it working!
KRISTINE MIDDLEMISS | SENIOR DEVELOPER CONSULTANT
AUTODESK DEVELOPER NETWORK Media & Entertainment
http://www.autodesk.com/joinadn
|
|
|
|
Why not query the switcher’s index channel to find out where the jumps occur?
|
|
|
_mg_ 16 September 2009 10:58 AM
Why not query the switcher’s index channel to find out where the jumps occur?
That’s a good idea! (I’d rather call you smart than me stupid ;) )
|
|
|