The spica renderer
|
Binary BVH accelerator class. More...
#include <bvh.h>
Classes | |
struct | BucketInfo |
union | Children |
struct | ComparePoint |
struct | CompareToBucket |
struct | SIMDBVHNode |
Public Member Functions | |
BVHAccel (const std::vector< std::shared_ptr< Primitive >> &prims, bool useSIMD=false) | |
BVHAccel (const std::vector< std::shared_ptr< Primitive >> &prims, RenderParams ¶ms) | |
Bounds3d | worldBound () const override |
void | construct () override |
virtual bool | intersect (Ray &ray, SurfaceInteraction *isect) const override |
virtual bool | intersect (Ray &ray) const override |
std::vector< Triangle > | triangulate () const override |
![]() | |
Accelerator (const std::vector< std::shared_ptr< Primitive >> &primitives) | |
Accelerator (const std::vector< std::shared_ptr< Primitive >> &primitives, RenderParams ¶ms) | |
const std::vector < std::shared_ptr< Primitive > > & | primitives () const |
![]() | |
const Light * | light () const override |
const Material * | material () const override |
void | setScatterFuncs (SurfaceInteraction *intr, MemoryArena &arena) const override |
Additional Inherited Members | |
![]() | |
std::vector< std::shared_ptr < Primitive > > | primitives_ |
Bounds3d | worldBound_ |
Binary BVH accelerator class.