Blender Git Commit Log

Git Commits -> Revision cd44449

Revision cd44449 by Sergey Sharybin (master)
April 20, 2015, 12:29 (GMT)
Cycles: Synchronize images after building mesh BVH

This way memory overhead caused by the BVH building is not so visible and peak
memory usage will be reduced.

Implementing this idea is not so straightforward actually, because we need to
synchronize images used for true displacement before meshes. Detecting whether
image is used for true displacement is not so striaghtforward, so for now all
all displacement types will synchronize images used for them.

Such change brings memory usage from 4.1G to 4.0G with the 01_01_01_D scene
from gooseberry. With 01_01_01_G scene it's 7.6G vs. 6.8G (before and after
the patch).

Reviewers: campbellbarton, juicyfruit, brecht

Subscribers: eyecandy

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

Commit Details:

Full Hash: cd44449578faa87c22776a0e8ecb792e18ed9a1b
Parent Commit: b07c630
Lines Changed: +120, -11

8 Modified Paths:

/intern/cycles/render/graph.h (+1, -0) (Diff)
/intern/cycles/render/image.cpp (+27, -0) (Diff)
/intern/cycles/render/image.h (+1, -0) (Diff)
/intern/cycles/render/mesh.cpp (+66, -0) (Diff)
/intern/cycles/render/mesh.h (+1, -0) (Diff)
/intern/cycles/render/nodes.cpp (+2, -2) (Diff)
/intern/cycles/render/nodes.h (+17, -4) (Diff)
/intern/cycles/render/scene.cpp (+5, -5) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021