warp.volume_sample_f#
- warp.volume_sample_f( ) float#
Kernel
Python
Differentiable
Sample the
warp.float32volume given byidat the index-space pointuvw.uvwis in index space (voxel coordinates) and may be fractional;sampling_modemust bewarp.Volume.CLOSESTorwarp.Volume.LINEAR. Sampling uses the resolved NanoVDB value (seevolume_sample()), and the sample is0ifidis not afloat32volume. In kernels, equivalent tovolume_sample()withdtype=float, which documents the coordinate-frame, value-resolution, boundary, and differentiability behavior.See
volume_sample()for a usage example.