Sharpen Heightfield Terrains
451 4 0-
- tadian
- Member
- 85 posts
- Joined: 3月 2013
- Offline
-
- animatrix_
- Member
- 3924 posts
- Joined: 2月 2012
- Offline
Hi,
You can perform an unsharp mask in VEX on a volume like this where the second input is the output of a HeightField Blur, using a Volume Wrangle SOP:
You can perform an unsharp mask in VEX on a volume like this where the second input is the output of a HeightField Blur, using a Volume Wrangle SOP:
int index = nametoprim ( 1, chs("layer") ); float d = volumesample ( 1, index, @P ); @density += ( @density - d ) * ch("amount");
Senior FX TD @ Industrial Light & Magic
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com]

patreon.com/animatrix | vimeo.com/animatrix3d
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com]

patreon.com/animatrix | vimeo.com/animatrix3d
-
- tadian
- Member
- 85 posts
- Joined: 3月 2013
- Offline
-
- animatrix_
- Member
- 3924 posts
- Joined: 2月 2012
- Offline
tadian
Wow, thank you. What are you inputing into the layer?
height
This is inline with other HF SOPs that expects a layer name.
And make sure to bind height to density:

Senior FX TD @ Industrial Light & Magic
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com]

patreon.com/animatrix | vimeo.com/animatrix3d
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com]

patreon.com/animatrix | vimeo.com/animatrix3d
-
- tadian
- Member
- 85 posts
- Joined: 3月 2013
- Offline
-
- Quick Links