magneto Posted July 14, 2018 Share Posted July 14, 2018 Hi, I am scattering points in a volume but I am always getting this kind of non-uniform distribution. What's the best way to get uniform distribution? I set the density to 1 using a volume wrangle but then I still have to have enough resolution to accurately fill in the volume using points, or it leaks some points over the borders. Is there a better way to do this in Houdini? Thanks Quote Link to comment Share on other sites More sharing options...
bonsak Posted July 14, 2018 Share Posted July 14, 2018 Points From Volume SOP will fill the volume in a grid or tetrahedral configuration. Not sure if that is what you are looking for. -b 1 Quote Link to comment Share on other sites More sharing options...
magneto Posted July 17, 2018 Author Share Posted July 17, 2018 Thanks that seems to work. Quote Link to comment Share on other sites More sharing options...
polvy Posted July 17, 2018 Share Posted July 17, 2018 You can add a point for each voxel you have by typping in a volumewrangle this: if (f@density>0) addpoint(0, @P); 2 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.