brandonpelfrey / Fast-BVH

A Simple, Optimized Bounding Volume Hierarchy for Ray/Object Intersection Testing
MIT License
509 stars 72 forks source link

Fixed Triangle Intersector, Added Benchmark #20

Closed ghost closed 4 years ago

ghost commented 4 years ago

This PR fixes a bug in the intersection test, so that the program can correctly render this image.

result

ghost commented 4 years ago

Inadvertently, this also contains the benchmark program.