-HEAVY- Posted January 21, 2017 Share Posted January 21, 2017 How can i measure the bounding box or distance between copys with different scales, so they don't overlap when copied to points or particles? and if i use a particle system how can i feed that data to the particle system so the particles have enough room inbetween so the copys don't interact... Quote Link to comment Share on other sites More sharing options...
Atom Posted January 21, 2017 Share Posted January 21, 2017 Check out this link, it may have what you are looking for. It basically fills one object with a bunch of scaled non-overlapping second object. Quote Link to comment Share on other sites More sharing options...
-HEAVY- Posted January 21, 2017 Author Share Posted January 21, 2017 Thx Atom, i have not read the full post, but i checked the file. it seems that he pScaled one object so there is no overlapping. but what when the objects are final from modelling department and could not be scaled.. so i think i need to read the bounds of the different objects and then feed it in somewhere.. Quote Link to comment Share on other sites More sharing options...
Yader Posted January 22, 2017 Share Posted January 22, 2017 (edited) You could use the bound node on each object and calculate the bounding sphere, then take the radius of the sphere and write into a pscale attribute. With the Relax Node you then could separate your objects from each other. It's a rough approximation but could be sufficient for your setup. How do your objects look like? Edited January 22, 2017 by Yader 1 Quote Link to comment Share on other sites More sharing options...
Yader Posted January 22, 2017 Share Posted January 22, 2017 Here's a scenefile illustrating the above. I am sure there other interesting ways of accomplishing this. BoundingSphere_Overlap_Relax_yader_02.hiplc 2 Quote Link to comment Share on other sites More sharing options...
-HEAVY- Posted January 22, 2017 Author Share Posted January 22, 2017 (edited) 7 hours ago, Yader said: How do your objects look like? Most of the objects are pencils, different size and a few bunch of other office products. so i have to stamp to a switch anyway and then maybe resort. but these bounding box and relax concept seems good on first sight and i can generate attribute based on size or room they need. Edited January 22, 2017 by -HEAVY- 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.