Blender Git Loki

Git Commits -> Revision fce7954

Revision fce7954 by Kévin Dietrich (master)
May 14, 2021, 00:40 (GMT)
Fix T87929: Cycles, missing update when visibility is modified

This issue originates from a missing BVH packing for visibility data
when it is modified.

To fix this, this adds update flags to the managers to carry the
modified visibility information from the Objects' modified flag to the
GeometryManager.

Another set of flags is added to determine which data need to be packed:
geometry, vertices, or visibility. Those flags are then used when
packing the primivites.

Reviewed By: brecht

Maniphest Tasks: T87929

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

Commit Details:

Full Hash: fce795415ade673dfbe4b176113c09a925150c71
Parent Commit: 37570a7
Lines Changed: +125, -48

8 Modified Paths:

/intern/cycles/render/geometry.cpp (+36, -6) (Diff)
/intern/cycles/render/geometry.h (+21, -1) (Diff)
/intern/cycles/render/hair.cpp (+34, -26) (Diff)
/intern/cycles/render/hair.h (+1, -1) (Diff)
/intern/cycles/render/mesh.cpp (+23, -13) (Diff)
/intern/cycles/render/mesh.h (+1, -1) (Diff)
/intern/cycles/render/object.cpp (+8, -0) (Diff)
/intern/cycles/render/object.h (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021