gKit2 light
|
bvh parametre par le type des primitives, cf triangle et instance... More...
Public Member Functions | |
int | build (const std::vector< T > &_primitives) |
Hit | intersect (const Ray &ray, const float htmax) const |
Hit | intersect (const Ray &ray) const |
int | build (const std::vector< T > &_primitives) |
Hit | intersect (const Ray &ray, const float htmax) const |
Hit | intersect (const Ray &ray) const |
int | build (const std::vector< T > &_primitives) |
Hit | intersect (const Ray &ray, const float htmax) const |
Hit | intersect (const Ray &ray) const |
Protected Member Functions | |
int | build (const int begin, const int end) |
BBox | primitive_bounds (const int begin, const int end) |
BBox | centroid_bounds (const int begin, const int end) |
void | intersect (const int index, const Ray &ray, const Vector &invd, Hit &hit) const |
int | build (const int begin, const int end) |
BBox | primitive_bounds (const int begin, const int end) |
BBox | centroid_bounds (const int begin, const int end) |
void | intersect (const int index, const Ray &ray, const Vector &invd, Hit &hit) const |
int | build (const int begin, const int end) |
BBox | primitive_bounds (const int begin, const int end) |
BBox | centroid_bounds (const int begin, const int end) |
void | intersect (const int index, const Ray &ray, const Vector &invd, Hit &hit) const |
Protected Attributes | |
std::vector< Node > | nodes |
std::vector< T > | primitives |
int | root |
bvh parametre par le type des primitives, cf triangle et instance...
Definition at line 127 of file tuto_bvh2.cpp.