Macha Posted April 14, 2010 Share Posted April 14, 2010 (edited) I have a fractured object sim, the result of which I saved out as a bgeo series. Now I want to use these objects in another smoke sim. But calculating one big massive sdf for this geometry (consisting of many small pieces) is not a good idea. Can I loop through each object and create a small concise sdf for each object somehow. I guess there is some automatic way of doing this because it happens when we create fractured objects. Or is there a different method? Edit: Maybe just use the fractured object node...silly me... Edited April 14, 2010 by Macha Quote Link to comment Share on other sites More sharing options...
Marc Posted April 14, 2010 Share Posted April 14, 2010 To answer your question though, yes it's definitely possible to do a foreach and create sdf's inside that. Cheers M Quote Link to comment Share on other sites More sharing options...
Ratman Posted April 14, 2010 Share Posted April 14, 2010 Yep, definitely work. Also I recommend NOT using group names at all for the foreach iteration, instead use a Primitive group attribute, you can create one using the connectivity sop if you don't have one already, it'll be MUCH faster than using foreach per group name. Quote Link to comment Share on other sites More sharing options...
Macha Posted April 14, 2010 Author Share Posted April 14, 2010 Hey, nice tip there Ratman. I did actually notice that groups slow down some things enormously (I often delete them when I can) but never made the mental connection to foreach. 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.