CStinson
2025年4月10日 06:59:47
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
Farmeadow
2025年4月10日 12:09:26
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.
CStinson
2025年4月11日 08:04:42
Thank you both. I now have it working.
Cliff