Jump to content

Copy to points onto Black/White map


Zero1s

Recommended Posts

Hi

Im creating a cliff in Houdini. I have the blockout of the big shapes, but now I want to cast some smaller rocks in between cracks and edges (concave). I'm using the Measure Curvature node to get a black/white mask of the curvature. But I don't know how I can use this colour information to create a mask on where to spawn smaller rocks. I test things out by copying a simple sphere to points but this gives me the shape of the rocks filled with the sphere.

I've only found this youtube video of the curvature node:

But they just skim over the nodes.

Im completely stuck. Anyone an idea?

Thanks!

 

 

 

Curvature_Mask.png

Cast_To_Points.png

Link to comment
Share on other sites

I think all you might need is a scatter node before your copytopoints. You are supplying all the points of the source geometry for the copy operation. With the scatter node set to scatter by density, you can assign either concavity, convexity, or Cd as the density attribute for the scatter generation. This will leave some areas empty of copies. After the copytopoints, you'll have to merge back in your original source mesh.

Untitled-1.jpg

Edited by Atom
Link to comment
Share on other sites

I found an alternate way to create some sort of point system by using the measure node.
only downside is, this also gives me points on convex places, not only concave places. (cfr picture)

 

image.png

Link to comment
Share on other sites

16 hours ago, Atom said:

I think all you might need is a scatter node before your copytopoints. You are supplying all the points of the source geometry for the copy operation. With the scatter node set to scatter by density, you can assign either concavity, convexity, or Cd as the density attribute for the scatter generation. This will leave some areas empty of copies. After the copytopoints, you'll have to merge back in your original source mesh.

Untitled-1.jpg

okay, never mind :P
I tried your method and it works exactly as I wanted!
thank you!

 

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...