Blender Git Loki

Git Commits -> Revision d7e4f92

Revision d7e4f92 by Sergey Sharybin (master)
April 20, 2016, 13:21 (GMT)
Cycles: Use threads to sort reference arrays when searching for split

This commits implements threaded sorting of references when looking for
object spatial split. It mainly useful when doing initial binning, which
happens from main thread.

Gives nice speedup of BVH build for Bunny.blend: 36sec vs. 55sec for
the Rabbit mesh BVH build.

On more complex scenes the speedup is probably minimal, but still nice
to have more instant rendering for simplier scenes.

Some further tests with production scenes would be interesting.

Reviewers: juicyfruit, dingto, lukasstockner97, brecht

Reviewed By: brecht

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

Commit Details:

Full Hash: d7e4f920fd93a4ae5679e0eb6b228a349ab3b082
Parent Commit: 96dc96f
Lines Changed: +140, -16

1 Modified Path:

/intern/cycles/bvh/bvh_sort.cpp (+140, -16) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021