warp.volume_lookup_v#

warp.volume_lookup_v(
id: uint64,
i: int32,
j: int32,
k: int32,
) vec3f#
  • Kernel

  • Python

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

Returns the resolved NanoVDB value (see volume_lookup()); the result is 0 if id is not a vec3f volume. Not differentiable. In kernels, equivalent to volume_lookup() with dtype=warp.vec3f.

See volume_lookup() for a usage example.