Screenglow VFX Posted October 13, 2016 Share Posted October 13, 2016 Hello guys, I have a beginner question,if someone can help.I have a brick wall (simple box copied on x and then on y) and I want to fracture inside a loop network.Some of the bricks I want to leave them intact and some of them to fracture.In the end I will have random bricks fractured and other bricks intact.I want to use an expression or some other approach so that inside the loop node the bricks to be fracture are selected randomly. Which is the best approach with this? Thanks. Quote Link to comment Share on other sites More sharing options...
sekow Posted October 13, 2016 Share Posted October 13, 2016 (edited) after you copied your box in sops, plug in a connectivity sop set it to primitive. get a primitive wrangle and type in: @group_frag = (random(i@class)<0.5); now you have approx half of your boxes set in a group called frag. blast sop all not inside that group and feed that into your loop. (btw you dont need to loop over them, you can fracture them all at once, just make sure that @class attribute is copied over to new fragments). merge that result to the bevor blasted prims. Edited October 13, 2016 by sekow typos Quote Link to comment Share on other sites More sharing options...
Screenglow VFX Posted October 13, 2016 Author Share Posted October 13, 2016 Thank you. Very logical. 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.