Jump to content

cache out RBDs as separate sims


nicoladanese

Recommended Posts

hey all!

I have a rbd sim made of several rbd packed objects, and now I'd like to cache it out but export each rbd packed object as a single alembic file, ideally I'd like to cache the entire sim for review and secondary simulations (smoke and debris) and then separate the cached version by those packed objects and create different alembics...any idea on how to do that? I'm looking into dop import to mask the packed object I want, but I'm missing the step of caching the entire sim first...

cheers!

Link to comment
Share on other sites

Hey Nicola.

You can use the Wedge for do it.

Basically you cache your simulation as you usually do, everything together. After you load back the geometry of the simulation you can put down a blast/delete. In the blast you can use the wedge parameter to isolate every piece of geometry and cache it out.

For example: in case you are using packed geometry you can test if the point number is equal to the wedge number. Everything else will be deleted. Remember to set the maximum range to be equal to the number of your pieces minus one since it starts from zero

Edited by Andrea
Link to comment
Share on other sites

Hey Andrea!

what I meant was something more generic, say you have a building collapsing, and is made of several packed object (glass, floors, ceilings...) and I wanted them to be separated at the end of the process.

I found out that I can name them differently in the assemble sop when I pack them, so after the cache I still have the name in the primitive, so problem solved!

 

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...