Jump to content

Extracting Keyframes from simulation


sophie95

Recommended Posts

Hi, 
 
I have an rbd simulation with packed geometry that is practically finished but I would like to tweak the motion of a few "hero" objects.
I've tried using the Dynamic CHOP node to extract the keyframes but this doesn't work with packed geometry.
So then I tried unpacking the geometry after the simulation and decided to use a Geometry CHOP node instead. This works great but only extracts the translation values and doesn't extract the rotation values which are quite important.
Does anyone have ideas how I could extract both translation and rotation values from my packed geometry?
 
Any advice is helpful,
 
Thanks!
Sophie
Link to comment
Share on other sites

57 minutes ago, vlb6 said:

hi Sophie,

this might be applicable - https://vimeo.com/150680144 
think he goes over a similar technique

 

 

 

Hi,
Thanks for replying!
 
In the link you sent I don't think he goes over how to extract keyframes from moving geo or packed dynamic geo which is what I would like ideally.
 
I'm working on a car/truck crash scene and got it looking nice but I would like to tweak the motion of one the objects slightly (truck) without changing the rest.  The Dynamic CHOP node would be perfect for this because it extracts the animation from the simulation so you can tweak it but unfortunately doesn't work with packed geo :(
 
Do you think there is a way to get packed geometry to work with the Dynamic CHOP node? Or a way to somehow extract keyframes from my simulation using another method?
 
Thanks 
Link to comment
Share on other sites

If you want to just to tweak the motion of a few hero pieces which are packed prims I suggest caching your simulation using a file node.  Then unpack the simulation and delete all except pieces you would like to alter.  When you are done altering the motion merge it with your orginial simulation (with the altered peices deleted).  See attached image.

Alternatively, you could export it suing the rbd_to_fbx export found on the new games shelf. Bring the outputed .fbx into whatever program desired and alter the animation on any given piece

 

 

packed_prim_alter_01.JPG

Edited by benne5
wrong attachment
  • Like 2
Link to comment
Share on other sites

Thank you so much!
I hadn't thought of doing that.  I combined both your suggested methods and managed to achieve what I wanted and it was a lot less hassle than the CHOP method. You saved me a lot of time! :D
 
Thanks again,
 
Sophie
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...