Blender Git Loki

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:

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)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021