Blender Git Commit Log

Git Commits -> Revision e0bbdd9

April 14, 2015, 11:19 (GMT)
Cycles: Split BVH nodes storage into inner and leaf nodes

This way we can get rid of inefficient memory usage caused by BVH boundbox
part being unused by leaf nodes but still being allocated for them. Doing
such split allows to save 6 of float4 values for QBVH per leaf node and 3
of float4 values for regular BVH per leaf node.

This translates into following memory save using 01.01.01.G rendered
without hair:

Device memory size Device memory peak Global memory peak
Before the patch: 4957 5051 7668
With the patch: 4467 4562 7332

The measurements are done against current master. Still need to run speed tests
and it's hard to predict if it's faster or not: on the one hand leaf nodes are
now much more coherent in cache, on the other hand they're not so much coherent
with regular nodes anymore.

Reviewers: brecht, juicyfruit

Subscribers: venomgfx, eyecandy

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

Commit Details:

Full Hash: e0bbdd97042d1de75c5ce54b36a5789e6a8526fb
Parent Commit: ac6038e
Lines Changed: +149, -95

By: Miika HämäläinenLast update: Nov-07-2014 14:18 MiikaHweb | 2003-2019