Search - User list
Full Version: Multiple Layers
Root » Houdini Indie and Apprentice » Multiple Layers
CStinson
I want to model erosion using VEX on heightfields. Part of my requirement is to have lakes where the water level is above the underlying ground level. I suspect I need to have two heightfields or to have an extra layer in my heightfield.

When I have two heightfields, either merged or fed as two inputs to my VEX, I can't see how to addres the second one. Any attempt to change height only impacts the first.

Can someone recmmend an approach?

Thanks
Cliff
Tanto
You can access the second input using
volumesample(1, 'height', v@P)
but I don't believe there's any way to modify it. You can do a second wrangle with it as the first input, or rename it to height2 and merge it to your first heightfield to modify both at once.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB