Blender Git Loki
Git Commits -> Revision fd9124e
Revision fd9124e by Patrick Mours (master) November 4, 2020, 14:09 (GMT) |
Fix Cycles volume render differences with NanoVDB when using linear sampling The NanoVDB sampling implementation behaves different from dense texture sampling, so this adds a small offset to the voxel indices to correct for that. Also removes the need to modify the sampling coordinates by moving all the necessary transformations into the image transform. See also T81454. |
Commit Details:
Full Hash: fd9124ed6b35fc3701ec3a4a9980c6eda5324fac
Parent Commit: 43ceb0f
Lines Changed: +32, -41
5 Modified Paths:
/intern/cycles/kernel/kernels/cpu/kernel_cpu_image.h (+4, -8) (Diff)
/intern/cycles/kernel/kernels/cuda/kernel_cuda_image.h (+4, -8) (Diff)
/intern/cycles/kernel/kernels/opencl/kernel_opencl_image.h (+8, -19) (Diff)
/intern/cycles/render/image_vdb.cpp (+9, -4) (Diff)
/intern/cycles/render/object.cpp (+7, -2) (Diff)
/intern/cycles/kernel/kernels/cuda/kernel_cuda_image.h (+4, -8) (Diff)
/intern/cycles/kernel/kernels/opencl/kernel_opencl_image.h (+8, -19) (Diff)
/intern/cycles/render/image_vdb.cpp (+9, -4) (Diff)
/intern/cycles/render/object.cpp (+7, -2) (Diff)