Blender Git Loki

Git Commits -> Revision c4fa17c

Revision c4fa17c by Sergey Sharybin (master)
October 25, 2021, 07:27 (GMT)
Cycles: More accurate volume stack size calculation

The idea is to allow having a lot of non-intersecting volumes without
allocating volume stack to its full size.

With the F11285472 file the memory usage goes from 1400 MiB to 1000
on the RTX6000 card.

The fix makes it so the integrator work memory is allocated after
scene update which has downside of possible less efficient update
when some textures don't fit GPU memory, but has an advantage of
making proper decision and having a clear and consistent internal API.

Fixes memory part of T92014.

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

Commit Details:

Full Hash: c4fa17c67a7c28d34abe0db2da8783f4c5ab2a8f
Parent Commit: 8733d31
Lines Changed: +31, -36

5 Modified Paths:

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