nicoladanese Posted October 9, 2018 Share Posted October 9, 2018 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! Quote Link to comment Share on other sites More sharing options...
Andrea Posted October 9, 2018 Share Posted October 9, 2018 (edited) 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 October 9, 2018 by Andrea Quote Link to comment Share on other sites More sharing options...
nicoladanese Posted October 10, 2018 Author Share Posted October 10, 2018 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! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.