Naeem Posted June 19, 2013 Share Posted June 19, 2013 Hi, I am trying to get points evenly spaced on the surface on an object. I used the Points from Volume SOP and it gives me evenly spaced points, however I get points inside the geometry as well. I'd like the points to be only on the surface of the geometry. How can I go about doing this? Thanks. Quote Link to comment Share on other sites More sharing options...
gui Posted June 19, 2013 Share Posted June 19, 2013 the scatter sop does that, but I don´t know if it suits your "evenly spaced" need. What exactly do u need to achieve? Quote Link to comment Share on other sites More sharing options...
jkunz07 Posted June 19, 2013 Share Posted June 19, 2013 Maybe have a look at this? http://schnellhammer.net/blog/2010/06/uniform-scattering-in-houdini/ Quote Link to comment Share on other sites More sharing options...
mawi Posted June 19, 2013 Share Posted June 19, 2013 (edited) Here is a file using point cloud and a ray sop to even out scattered points. distPoints.hipnc Edited June 19, 2013 by mawi 1 Quote Link to comment Share on other sites More sharing options...
Naeem Posted June 20, 2013 Author Share Posted June 20, 2013 Thanks for the replies everyone! I am trying to convert a model to something like a mosaic but I want it to be hollow. That's why I am replacing points with boxes of even size. @jkunz07 : I've tried that and for some reason I wasn't getting evenly spaced points. @mawi : Thanks for the file! I'll take a look at it. Quote Link to comment Share on other sites More sharing options...
Naeem Posted June 20, 2013 Author Share Posted June 20, 2013 See attached file to get a better idea of what I am trying to do. I want the same points, however just on the surface of the geo. Thanks. od_Mosaic.hipnc Quote Link to comment Share on other sites More sharing options...
Naeem Posted June 20, 2013 Author Share Posted June 20, 2013 I have sort of gotten what I wanted using the Fluid Source SOP. However, I'd still like to know if there is another way of doing this. Attached file for reference. od_Mosaic_Fixed.hipnc Quote Link to comment Share on other sites More sharing options...
edward Posted June 21, 2013 Share Posted June 21, 2013 What about converting to VDB at the desired voxel size, and then converting back to polygons? ie. VDB From Polygons -> Convert VDB (convert to polygons) -> Add (keep only points) Quote Link to comment Share on other sites More sharing options...
Naeem Posted June 21, 2013 Author Share Posted June 21, 2013 Hi edward, That works too, but it isn't perfect. I get intersecting geometry when I copy the geometry onto the points. See attached file. od_Mosaic_using_VDB.hipnc Quote Link to comment Share on other sites More sharing options...
edward Posted June 22, 2013 Share Posted June 22, 2013 Sorry, no time to check out your hip, but do mean some points are too close together? In that case, maybe a Fuse SOP with suitable tolerance can be used to fix the result. Quote Link to comment Share on other sites More sharing options...
bloomendale Posted June 23, 2013 Share Posted June 23, 2013 i think the easiest way is to try new Remesh SOP - increase iterations and you'll get nearly equilateral triangles. then just delete the prims. Quote Link to comment Share on other sites More sharing options...
vi_rus Posted June 23, 2013 Share Posted June 23, 2013 (edited) if you want to get uniformly scattered points you can use this tecnique. P.S. sorry, looks like mawi already proposed this trick uniform_scatter.hip Edited June 23, 2013 by vi_rus Quote Link to comment Share on other sites More sharing options...
Naeem Posted June 24, 2013 Author Share Posted June 24, 2013 Thanks for all the help, everyone! I think the Fluid Source SOP is giving me the best result with the desired control that I need. But it's nice to know of other ways so I learn something new that way. 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.