Jump to content
Zero1s

Copy to points onto Black/White map

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

Share this post


Link to post
Share on other sites
Posted (edited)

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

Share this post


Link to post
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

Share this post


Link to post
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!

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×