warp.volume_lookup_i#

warp.volume_lookup_i(
id: uint64,
i: int32,
j: int32,
k: int32,
) int#
  • Kernel

  • Python

Return the warp.int32 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 an int32 volume. Not differentiable. In kernels, equivalent to volume_lookup() with dtype=warp.int32.

See volume_lookup() for a usage example.