warp.volume_lookup_f#

warp.volume_lookup_f(
id: uint64,
i: int32,
j: int32,
k: int32,
) float#
  • Kernel

  • Python

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

See volume_lookup() for a usage example.