I have a simple RBD Scene with Falling Cube and a Collision Plane.
Is there a Way to export or manipulate the xyz pos and rotation of the cube ?
To see the values in Graph Editor or to reach the xyz hpb from python to export to Aftereffects or to a collada scene file ?
I hope i could describe my problem clearly ..
thx martin
Export Motion Channels of RBD Simulation
12874 12 0- dulo
- Member
- 383 posts
- Joined: June 2010
- Offline
- eitht
- Member
- 257 posts
- Joined: Nov. 2010
- Offline
- tamte
- Member
- 8589 posts
- Joined: July 2007
- Online
use Dynamics CHOP to extract any curve(s) from DOP network then export them to objects
or use Fetch Object to fetch transform from DOP object
but you better define all your transforms in DOPs so make sure all your RBDs are on 0,0,0 and use Initial transforms on RBD Object to define it's start position
or use Fetch Object to fetch transform from DOP object
but you better define all your transforms in DOPs so make sure all your RBDs are on 0,0,0 and use Initial transforms on RBD Object to define it's start position
Tomas Slancik
FX Supervisor
Method Studios, NY
FX Supervisor
Method Studios, NY
- dulo
- Member
- 383 posts
- Joined: June 2010
- Offline
tamte
use Dynamics CHOP to extract any curve(s) from DOP network then export them to objects
or use Fetch Object to fetch transform from DOP object
but you better define all your transforms in DOPs so make sure all your RBDs are on 0,0,0 and use Initial transforms on RBD Object to define it's start position
Sounds interesting. Will try to setup demo scene for each scenario.
thx a lot
- dulo
- Member
- 383 posts
- Joined: June 2010
- Offline
It seems like to ExtractTransforms example for Chops is exactly what i am looking for. It writes the transformations translate and rotate from the rbd simulation to the channels on the object. but i dont quite understand the mechanism which works in the chop delete node .. why do i use a chop delete node to export the channels ?? which wildcards choose the channels ? and where are the affected objects chosen ?
but all in all it works perfectly..
but all in all it works perfectly..
Edited by - July 26, 2011 13:34:45
- dulo
- Member
- 383 posts
- Joined: June 2010
- Offline
- dulo
- Member
- 383 posts
- Joined: June 2010
- Offline
- tamte
- Member
- 8589 posts
- Joined: July 2007
- Online
make sure to define all your transforms at DOP level to get correct curves from Dynamics CHOP
as now you have transformation on Object level prior to importing to DOPs which will not produce correct results even though you've parented output object to a null with the same initial transforms
secondly, it is a good idea to set Dynamics CHOP to Cached and lock after simulation is done so there is no resim needed every time you open the scene
here is modified eitht's file showing two mentioned methods of importing DOP data
as for getting editable curves to graph editor, once dynamic curves are chached you can maybe export the channels from chops as chan file and import through graph editor to correct parameters
or they surely can be baked with Python script
don't forget that you can edit channels in CHOPs either with various CHOP nodes or even manually, but with raw keyframes it is more like sculpting
as now you have transformation on Object level prior to importing to DOPs which will not produce correct results even though you've parented output object to a null with the same initial transforms
secondly, it is a good idea to set Dynamics CHOP to Cached and lock after simulation is done so there is no resim needed every time you open the scene
here is modified eitht's file showing two mentioned methods of importing DOP data
as for getting editable curves to graph editor, once dynamic curves are chached you can maybe export the channels from chops as chan file and import through graph editor to correct parameters
or they surely can be baked with Python script
don't forget that you can edit channels in CHOPs either with various CHOP nodes or even manually, but with raw keyframes it is more like sculpting
Tomas Slancik
FX Supervisor
Method Studios, NY
FX Supervisor
Method Studios, NY
- dulo
- Member
- 383 posts
- Joined: June 2010
- Offline
thx a lot.
seems to be working really well. is there a way to export all channels of an object and reimport them to “freeze” the keyframes in a simple way or do you have to save each channel in chops and reimport it by hand ?
or asked in another way: how to freeze the keyframes of many objects and many channels ?
seems to be working really well. is there a way to export all channels of an object and reimport them to “freeze” the keyframes in a simple way or do you have to save each channel in chops and reimport it by hand ?
or asked in another way: how to freeze the keyframes of many objects and many channels ?
- tamte
- Member
- 8589 posts
- Joined: July 2007
- Online
- edward
- Member
- 7730 posts
- Joined: July 2005
- Offline
- dulo
- Member
- 383 posts
- Joined: June 2010
- Offline
- James_Burg
- Member
- 153 posts
- Joined: June 2010
- Offline
-
- Quick Links