Tronotrond Posted August 6, 2019 Share Posted August 6, 2019 Hi all! Just a general question here. Having a solver inside a for-loop, looping through objects. I realize I need to turn off caching, or else it doesn't read in every new piece correctly. This seems to be extremely slow though, so I'm just wondering if there's a way to optimize this? What I'm doing is having an RBD sim, and having the pieces erode away. So I cached the sim, eroding the fracture elements in a for-loop and transfer the new pieces back to the simulation points. I hope and think this is a decent way to do it, except it'd be nice if I could cache out and iterate on the solver loop faster. Having 150 pieces, it's cooked 35 frames in 25 minutes now, and that's with a low-res VDB conversion, and naturally getting slower for each frame. 1 Quote Link to comment Share on other sites More sharing options...
anim Posted August 6, 2019 Share Posted August 6, 2019 don't use solver inside of the for loops the best workflow nowadays for that will probably be TOPs, where you can run every objet through your sim independently, and also change only the ones that you need if you need to iterate more 2 Quote Link to comment Share on other sites More sharing options...
Tronotrond Posted August 7, 2019 Author Share Posted August 7, 2019 Thanks, that's a good idea! Didn't think of that, and it gives me a kick in the butt to actually dive into TOPs. 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.