Hi all,
Does anyone know of a good way to swap axes of a CHOP channel? My curve happens to be monotonically increasing, so it should pivot without ambiguity.
Cheers!
Jason
CHOPS - "pivoting" a channel
848 2 2- jason_iversen
- Member
- 12466 posts
- Joined: July 2005
- Online
Jason Iversen, Technology Supervisor & FX Pipeline/R+D Lead @ Weta FX
also, http://www.odforce.net [www.odforce.net]
also, http://www.odforce.net [www.odforce.net]
- tamte
- Member
- 8551 posts
- Joined: July 2007
- Offline
I've done it in the past using VEX arrays, mostly for the needs of inverting timewarp curves
- sampling the whole channel into frame and value arrays
- swapping them
- and then sampling back to CHOP channel using spline() function
it's a bit involved as to make it robust you have to take sample rate and fps into account
however I'd also appreciate if there was a CHOP node for that
- sampling the whole channel into frame and value arrays
- swapping them
- and then sampling back to CHOP channel using spline() function
it's a bit involved as to make it robust you have to take sample rate and fps into account
however I'd also appreciate if there was a CHOP node for that
Tomas Slancik
FX Supervisor
Method Studios, NY
FX Supervisor
Method Studios, NY
- jason_iversen
- Member
- 12466 posts
- Joined: July 2005
- Online
Hi Tomas,
Yeah, that's precisely the use case. Usually we simply invert them at the time of reading them from disk, but when you find yourself wanting to edit and otherwise manipulate them, it's nice to be able to invert them ad hoc.
I haven't tried it with VEX arrays yet; maybe I'll play around it with that.
Ah yeah, a native CHOP operation would be nice.
Yeah, that's precisely the use case. Usually we simply invert them at the time of reading them from disk, but when you find yourself wanting to edit and otherwise manipulate them, it's nice to be able to invert them ad hoc.
I haven't tried it with VEX arrays yet; maybe I'll play around it with that.
Ah yeah, a native CHOP operation would be nice.
Jason Iversen, Technology Supervisor & FX Pipeline/R+D Lead @ Weta FX
also, http://www.odforce.net [www.odforce.net]
also, http://www.odforce.net [www.odforce.net]
-
- Quick Links