VolumeWranglers are invoked for each Voxel in a HeightField and so already have access to that voxel. Is there a way to read the height of a neighbourning voxel.
Thanks
Clff
VolumeWrangler get height of specified
442 3 2-
- CStinson
- Member
- 11 posts
- Joined: July 2024
- Offline
-
- Farmeadow
- Member
- 30 posts
- Joined: Jan. 2011
- Offline
To access neighbors, you need to calculate their positions relative to the current one. Since voxels are on a grid, you do this by offsetting the voxel coordinates. Houdini provides the volumeindex VEX function [www.sidefx.com] to help you read values from a volume at specific voxel coordinates.
Edited by Farmeadow - April 10, 2025 12:11:33
-
- Tanto
- Member
- 503 posts
- Joined: Nov. 2016
- Offline
-
- CStinson
- Member
- 11 posts
- Joined: July 2024
- Offline
-
- Quick Links