warp.volume_lookup_i#
- warp.volume_lookup_i( ) int#
Kernel
Python
Return the
warp.int32value of the voxel at integer index-space coordinatesi,j,k, without interpolation.Returns the resolved NanoVDB value (see
volume_lookup()); the result is0ifidis not anint32volume. Not differentiable. In kernels, equivalent tovolume_lookup()withdtype=warp.int32.See
volume_lookup()for a usage example.