Blender Git Loki

Git Commits -> Revision ed1a083

Revision ed1a083 by Brecht Van Lommel (master)
April 17, 2013, 20:07 (GMT)
Cycles: code refactoring to deduplicate the various BVH traversal variations.
Now there is a single BVH traversal code with #ifdefs for various features.
At runtime it will then select the appropriate variation to use depending if
instancing, hair or motion blur is in use.

This makes scenes without hair render a bit faster, especially after the
minimum width feature was added. It's not the most beautiful code, but we can't
use c++ templates and there were already 4 copies, adding 4 more to handle the
hair case separately would be too much.

Commit Details:

Full Hash: ed1a08382f2b9f9d11661d2f4c68c496c49f274a
SVN Revision: 56118
Parent Commit: f3f5e95
Lines Changed: +404, -552

1 Added Path:

/intern/cycles/kernel/kernel_bvh_traversal.h (+239, -0) (View)

7 Modified Paths:

/intern/cycles/kernel/CMakeLists.txt (+1, -0) (Diff)
/intern/cycles/kernel/kernel_bvh.h (+114, -529) (Diff)
/intern/cycles/kernel/kernel_path.h (+27, -17) (Diff)
/intern/cycles/kernel/kernel_subsurface.h (+1, -1) (Diff)
/intern/cycles/kernel/kernel_types.h (+4, -1) (Diff)
/intern/cycles/render/object.cpp (+17, -3) (Diff)
/intern/cycles/render/object.h (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021