Skip to content
/ bvh Public
forked from madmann91/bvh

A modern C++ BVH construction and traversal library

License

Notifications You must be signed in to change notification settings

andax/bvh

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BVH Construction and Traversal Library

This library is a small, standalone library for BVH construction and traversal. It is licensed under the MIT license.

Features

  • Two BVH builders: A fast, single-threaded sweeping SAH builder, and a multithreaded mini-tree BVH builder inspired from "Rapid Bounding Volume Hierarchy Generation using Mini Trees", by P. Ganestam et al.
  • A fast and robust traversal algorithm using "Robust BVH Ray Traversal", by T. Ize.
  • A fast ray-triangle intersection algorithm based on "Fast, Minimum Storage Ray/Triangle Intersection", by T. Möller and B. Trumbore,
  • Can be parametrized on the dimension (e.g. 2D, 3D, 4D BVHs are supported) & scalar type (e.g. float or double),
  • Only depends on the standard library (parallelization uses a custom thread pool based on std::thread).

Usage

simple example

About

A modern C++ BVH construction and traversal library

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 98.3%
  • CMake 1.2%
  • C 0.5%