Blender Git Loki

Git Commits -> Revision eca2a41

Revision eca2a41 by Sergey Sharybin (master)
October 11, 2021, 12:01 (GMT)
Cycles: Improve volume stack size calculation

Only count volume objects after shader optimization.

Allows to discard objects which don't have effective volume
BSDF connected to the shader output (i.e. constant folded,
or non-volume BSDF used by mistake).

Solves memory regression reported in T92014.

There is still possibility to improve memory even further
for cases when there are a lot of non-intersecting volume
objects, but that requires a deeper refactor of update
process. Will happen as a followup development.

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

Commit Details:

Full Hash: eca2a419648a9e4288f56b921dabafed0cb97526
Parent Commit: a82c9e1
Lines Changed: +13, -13

2 Modified Paths:

/intern/cycles/render/object.cpp (+1, -1) (Diff)
/intern/cycles/render/scene.cpp (+12, -12) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021