how to make points created by "scatter" evenly dis

   17558   12   3
User Avatar
Member
479 posts
Joined: 12月 2009
Offline
may i ask how to make points created by “scatter” evenly distributed across a irregular surface?

and also, how to make all the scatter points located within the surface?

Thanks!

- Ji

Attachments:
cookie2.hipnc (57.2 KB)
Screen Shot 2012-06-16 at 3.42.13 PM.png (97.9 KB)

User Avatar
Member
1718 posts
Joined: 3月 2009
Offline
Check this blog posting by Schnelli:

http://schnellhammer.net/blog/2010/06/uniform-scattering-in-houdini/ [schnellhammer.net]
Martin Winkler
money man at Alarmstart Germany
User Avatar
Member
479 posts
Joined: 12月 2009
Offline
thanks, protozoan!

May i ask how to get the triangulation based on the evenly distributed points created as shown in the link you posted?

- Ji

Attachments:
points.hipnc (62.6 KB)
Screen Shot 2012-06-16 at 4.38.36 PM.png (115.6 KB)
polygon_2d_scatter_triangulation_2.jpg (101.0 KB)
csUniformScatter.otl (17.3 KB)

User Avatar
スタッフ
2540 posts
Joined: 7月 2005
Offline
Here's another brute force way that brickers the geometry with the Divide SOP, over-scatters the points and then uses two Fuse SOPs to first snap and then cull the overlaps.

Attachments:
uniform_scatter_of_points_with_fuse.hipnc (67.7 KB)

There's at least one school like the old school!
User Avatar
Member
479 posts
Joined: 12月 2009
Offline
thanks a lot, Jeff!

If it's not too troublesome, can you advise on how to make the 2D triangulation happens only within the boundary as defined by the points?

- Ji
User Avatar
Member
330 posts
Joined: 7月 2007
Offline
oat
.. how to make the 2D triangulation happens only within the boundary as defined by the points?

drop a ClothRefine SOP between the Cookie and Scatter .

// it ‘ sleeps ’ inside the Cloth submenu //
except the things that cannot be seen , nothing is like it seems .
User Avatar
Member
479 posts
Joined: 12月 2009
Offline
thanks, Zarti! your suggestion can create similar results.

What I want to know is how to get the triangulation based on the points we get from Jeff's approach, i.e. how to get rid of the surfaces highlighted below in yellow boundary as generated by the Triangulation 2D SOP…

Advice is appreciate!

- Ji

Attachments:
Screen Shot 2012-06-16 at 10.45.05_c PM.png (75.7 KB)

User Avatar
Member
330 posts
Joined: 7月 2007
Offline
pardon the delay . problems with internet from here


in the above post i just replied to the question ,

which i didnt connected it with the hip-s being shared to that point .

anyway ..

, i made few additions to the file you posted on post #3 ,

where you already solved the point 's distribution .

added few comments too about different small issues ( hopefully ) .


hope that helps ..

Attachments:
pointz_183.hipnc (77.7 KB)

except the things that cannot be seen , nothing is like it seems .
User Avatar
Member
479 posts
Joined: 12月 2009
Offline
thank you very much for your advice, Zarti!

will take some time to digest ur approach.

- Ji
User Avatar
Member
14 posts
Joined: 8月 2009
Offline
Hi,

attached you can find a scene how I made the samples shown on my blog.

I hope this helps.

Cheers

Attachments:
screeny_0009.png (302.6 KB)
Triangulate2D.hipnc (73.8 KB)

User Avatar
Member
479 posts
Joined: 12月 2009
Offline
Dear schnelli, thank you very much! - Ji
User Avatar
Member
1 posts
Joined: 11月 2018
Offline
plz give me link for download csuniform scatter.
User Avatar
Member
14 posts
Joined: 8月 2009
Offline
karanpruthi253
plz give me link for download csuniform scatter.

Hi, this is no longer necessary. Houdini's scatter node already contains this feature.
  • Quick Links