warp.volume_lookup_v#

warp.volume_lookup_v(id: uint64, i: int32, j: int32, k: int32) → vec3f#
  • Kernel: true
  • Python: true
  • Differentiable: false

Return the warp.vec3f value of the voxel at integer index-space coordinates i, j, k, without interpolation.

id must identify a vec3f volume. This function is not differentiable. In kernels, volume_lookup_v() is equivalent to volume_lookup() with dtype=warp.vec3f.

See volume_lookup() for shared behavior and a usage example.

Returns:

The resolved warp.vec3f voxel value.