.. _Chap:ExamplesRays: Rays and BVHs ============= Searches of your own through a BVH, and rays cast at a mesh. * :ref:`Chap:ExampleBVHTraversal`: walking a BVH with a search of your own: the nearest object to a point, the first one a ray hits, whether a segment is blocked. * :ref:`Chap:ExampleRayTracing`: casting rays at a triangle mesh: where a ray or a particle's step first crosses the surface, and the same walk of the BVH written by hand. .. toctree:: :hidden: ExampleBVHTraversal.rst ExampleRayTracing.rst