blender/intern/cycles/kernel/geom
Sergey Sharybin 03f28553ff Cycles: Implement QBVH tree traversal
This commit implements traversal for QBVH tree, which is based on the old loop
code for traversal itself and Embree for node intersection.

This commit also does some changes to the loop inspired by Embree:

- Visibility flags are only checked for primitives.

  Doing visibility check for every node cost quite reasonable amount of time
  and in most cases those checks are true-positive.

  Other idea here would be to do visibility checks for leaf nodes only, but
  this would need to be investigated further.

- For minimum hair width we extend all the nodes' bounding boxes.

  Again doing curve visibility check is quite costly for each of the nodes and
  those checks returns truth for most of the hierarchy anyway.

There are number of possible optimization still, but current state is good
enough in terms it makes rendering faster a little bit after recent watertight
commit.

Currently QBVH is only implemented for CPU with SSE2 support at least. All
other devices would need to be supported later (if that'd make sense from
performance point of view).

The code is enabled for compilation in kernel. but blender wouldn't use it
still.
2014-12-25 02:50:49 +05:00
..
geom_attribute.h Cycles code internals: add support for mesh voxel grid attributes. 2014-03-29 13:03:48 +01:00
geom_bvh_shadow.h Cycles: Implement QBVH tree traversal 2014-12-25 02:50:49 +05:00
geom_bvh_subsurface.h Cycles: Implement QBVH tree traversal 2014-12-25 02:50:49 +05:00
geom_bvh_traversal.h Cycles: Implement QBVH tree traversal 2014-12-25 02:50:49 +05:00
geom_bvh_volume.h Cycles: Implement QBVH tree traversal 2014-12-25 02:50:49 +05:00
geom_bvh.h Cycles: Implement QBVH tree traversal 2014-12-25 02:50:49 +05:00
geom_curve.h Cycles: set hit values in-order 2014-10-11 11:17:08 +02:00
geom_motion_curve.h Cycles code refactor: move more code to geom folder, add some comments. 2014-03-29 13:03:48 +01:00
geom_motion_triangle.h Cycles: set hit values in-order 2014-10-11 11:17:08 +02:00
geom_object.h Style cleanup: indentation, braces 2014-05-05 02:19:08 +10:00
geom_primitive.h Cycles: Missed some changes in the previous hair motion blur fix 2014-11-19 02:42:22 +05:00
geom_qbvh_shadow.h Cycles: Implement QBVH tree traversal 2014-12-25 02:50:49 +05:00
geom_qbvh_subsurface.h Cycles: Implement QBVH tree traversal 2014-12-25 02:50:49 +05:00
geom_qbvh_traversal.h Cycles: Implement QBVH tree traversal 2014-12-25 02:50:49 +05:00
geom_qbvh_volume.h Cycles: Implement QBVH tree traversal 2014-12-25 02:50:49 +05:00
geom_qbvh.h Cycles: Implement QBVH tree traversal 2014-12-25 02:50:49 +05:00
geom_triangle_intersect.h Cycles: Add some utility functions and structures 2014-12-25 02:50:49 +05:00
geom_triangle.h Cycles: Implement watertight ray/triangle intersection 2014-12-25 02:50:49 +05:00
geom_volume.h Cycles: Expose volume voxel data interpolation to the interface 2014-10-22 19:53:06 +06:00
geom.h Cycles: Implement QBVH tree traversal 2014-12-25 02:50:49 +05:00