Blender Git Loki

Git Commits -> Revision c069f01

Revision c069f01 by Sergey Sharybin (cycles_hair_bvh)
April 22, 2016, 15:06 (GMT)
Cycles: Proof-of-concept unaligned BVH traversal code

This a commit which breaks regular non-development work broken,
this is due to accumulated TODOs in the code, solving which is
not fully trivial and trying to stub them will lead to some
nasty code. That being said, only final renders are working
stable, perhaps only for hair tho (mixed hair and triangles
could behave flackey).

In any way, the code is mainly here to see how much traversal
steps we can save using oriented bounding boxes in hair BVH,
it is not optimized or vectorized. In fact, it does evaluation
of particular things multiple times. This means only traversal
steps pass could be used to quantify possible improvements.

But that being said some quick tests seems promising. Here is
a camera rays traversal heatmap for suzanne with 8000 hair:


Btw, only regular BVH was modified to support OBB.

Now we need to work on vectorization and QBVH support to see
if we can beat performance of AABB by a measurable matter.

Commit Details:

Full Hash: c069f01c185ae7bb48c20348247e566a45bfb22c
Parent Commit: 086f115
Lines Changed: +303, -202

Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18 MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2022