fuzzylogic Posted April 30, 2013 Share Posted April 30, 2013 Hi Just wondering if anyone could give me a hand Is there a way to create a randomly shaped bouding structure? The attached file is a pyramid of spheres, as an example I used a cookie to remove everything outside the big sphere, but what I want is each spehere intersecting the larger sphere to be totally removed. Any ideas? Cheers Fz Quote Link to comment Share on other sites More sharing options...
acey195 Posted April 30, 2013 Share Posted April 30, 2013 You could use noise (Vopsop Curl noise) or jitter to randomize things For a more rigid system I would suggest using L-systems and create closed shapes which you then could extrude. this can give you more angular shapes You could also use volumes, with the values set by a noise and then convert to polygons, for more round shapes Quote Link to comment Share on other sites More sharing options...
Annon Posted April 30, 2013 Share Posted April 30, 2013 You didn't add the file btw... But yeah I'd do it with a volume and take the max value to create a singular structure. Quote Link to comment Share on other sites More sharing options...
fuzzylogic Posted April 30, 2013 Author Share Posted April 30, 2013 Ahhh silly me, didnt realise that I had to click the attach button ha ha I edited my file down from what I have for ease of display but esentially I want to remove all spheres outside a greater shape using the node structure (minus the cookie) in the file Hope this helps odforum_test.hipnc Quote Link to comment Share on other sites More sharing options...
Annon Posted April 30, 2013 Share Posted April 30, 2013 Here you go. Basic idea is that in a for loop over each sphere, you sample if the point is inside of the volume. Then you promote that attribute to a detail (which is just one attribute, so for the whole object it's processing in that bit of the loop), taking the max, or mean etc, then promoting back to a point attribute so all points have the same value. Then you just look at which ones are 1 and which ones are 0 to delete. odforum_test_done.hipnc 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.