warp.volume_sample_v#
- warp.volume_sample_v( ) vec3f#
Kernel
Python
Differentiable
Sample the vector (
warp.vec3f) volume given byidat the index-space pointuvw.uvwis in index space (voxel coordinates) and may be fractional;sampling_modemust bewarp.Volume.CLOSESTorwarp.Volume.LINEARand is applied per component. Sampling uses the resolved NanoVDB value (seevolume_sample()), and the sample is0ifidis not avec3fvolume. In kernels, equivalent tovolume_sample()withdtype=warp.vec3f.See
volume_sample()for a usage example.