Jump to content
Honokaitj

Heightfield Paint pscale?

Recommended Posts

Hey fellow Houdini artists!

I'm a long time Max and Maya user and I'm now learning Houdini.  I'm trying to figure out if there is a way to use heightfield paint or heightfield draw mask to store values that I can later use to affect the pscale of objects in a heightfield scatter.

For example I'd like to scatter bushes on a landscape.  I want each point to get a random pscale factor still...Like between 0.5 and 1.5.  However, I then want to multiply that value by another masks value that I can paint.  This way I could increase or decrease the general size of the pscale in the areas I've painted.  This would allow me to create taller bushes in some areas or smaller bushes in other areas.  This seems fairly straight forward to do with scatter, copy to points and attribute paint nodes if I'm not using heightfields.  However, I'd like to do this with heightfields and heightfield scatters

Is something like this possible? 

Thanks,

Tim J

Share this post


Link to post
Share on other sites

Hi Tim, no time to try but just a thought, you can use masks to drive colors of your final geometry, so that means you can have attributes on the convert heighfield node output to drive your scatter points via attribute transfer node. I would need to sit down and try, but I am pretty sure this can be solved without a problem. 

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

×