#include "defines.h"
#include "intersection.h"
#include "ray.h"
#include "aabb.h"
#include "timer.h"
Include dependency graph for kdtree.cpp:
This graph shows which files directly or indirectly include this file:
Namespaces | |
namespace | asr |
Variables | |
static const float | asr::EMPTY_BONUS = 0.1f |
Nodes in the tree which are completely empty are assigned a bonus between 0 and 1 during tree construction as they will speed up traversal by cutting of empty portions of the scene. | |
static const float | asr::INTERSECTION_COST = 80.0f |
The cost of performing a ray/object intersection. | |
static const float | asr::TRAVERSAL_COST = 1.0f |
The cost of traversing into a node in the tree. |