Blender Git Commit Log

Git Commits -> Revision 13ec512

Revision 13ec512 by Kévin Dietrich (master)
November 16, 2020, 16:55 (GMT)
Fix T81983: volume tiles missing in Cycles renders

The OpenVDB data structure can store voxel data in leaf nodes or tiles
when all the nodes in a given region have a constant value. However,
Cycles is using the leaf nodes to generate the acceleration structure
for computing volume intersections which did not include constant tiles.

To fix this, we simply voxelize all the active tiles prior to generating
the volume bounding mesh. As we are using a MaskGrid, this will not
allocate actual voxel buffers for each leaf, so the memory usage will be
kept low.

Differential Revision: https://developer.blender.org/D9557

Reviewed by: brecht, JacquesLucke

Commit Details:

Full Hash: 13ec512f4b9a9232d04a8995fab1837798ef4c39
Parent Commit: c645da9
Lines Changed: +4, -0

1 Modified Path:

/intern/cycles/render/volume.cpp (+4, -0) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021