Go to file
Nathan Vegdahl 53c9ff9534 Made a BVHTraverser iterator that traverses a BVH with a ray.
It yields the objects that the ray needs to be tested against.
Thus it is the responsibility of the code using the iterator
to actually do the object-level ray tests and update the ray's
max_t etc. accordingly.

This keeps all of the BVH-related code generic with respect to
what kind of object/data the BVH actually contains, which means
the same BVH code can be used for both scene-level and
triangle-level data.
2015-12-31 11:15:35 -08:00
src Made a BVHTraverser iterator that traverses a BVH with a ray. 2015-12-31 11:15:35 -08:00
.gitignore First commit. 2015-12-26 00:38:29 -08:00
Cargo.lock Added command line parsing and PPM image writing. 2015-12-27 00:13:35 -08:00
Cargo.toml Added command line parsing and PPM image writing. 2015-12-27 00:13:35 -08:00
todo.txt Implemented a very basic BVH for lists of triangles. 2015-12-29 16:56:33 -08:00