diff --git a/README.md b/README.md index 0993354..b2d56bf 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,3 @@ -# dev -This is the **development branch** for tinybvh. - # tinybvh Single-header BVH construction and traversal library written as "Sane C++" (or "C with classes"). Some C++11 is used, e.g. for threading. The library has no dependencies. @@ -72,7 +69,7 @@ The **performance measurement tool** can be compiled with: ````g++ -std=c++20 -mavx -Ofast tiny_bvh_speedtest.cpp -o tiny_bvh_speedtest```` -# Version 1.3.1 +# Version 1.3.2 Version 1.3.0 changed the names of vector math functions, which are now prepended with ````tinybvh_````, e.g. ````tinybvh_cross````, ````tinybvh_normalize````. This avoids name clashes in applications that override the vector types with their own. Basically tinybvh evades these so you don't have to. @@ -117,6 +114,7 @@ This version of the library includes the following functionality: * Fast binned SAH BVH builder using NEON intrinsices, by [wuyakuma](https://github.com/wuyakuma) * TLAS builder with instancing and TLAS/BLAS traversal * Double-precision binned SAH BVH builder +* Support for custom geometry and mixed scenes * Example code for GPU TLAS/BLAS traversal (dragon invasion demo, tiny_bvh_gpu2.cpp) * Example TLAS/BLAS application using OpenGL interop (windows only) * Spatial Splits ([SBVH](https://www.nvidia.in/docs/IO/77714/sbvh.pdf), Stich et al., 2009) builder, including "unsplitting" @@ -125,6 +123,7 @@ This version of the library includes the following functionality: * Collapse to N-wide MBVH using templated code * Conversion of 4-wide BVH to GPU-friendly 64-byte quantized format * Single-ray and packet traversal +* Sphere/BVH collision detection via BVH::IntersectSphere(..) * Fast triangle intersection: Implements the 2016 paper by [Baldwin & Weber](https://jcgt.org/published/0005/03/03/paper.pdf) * OpenCL traversal: Aila & Laine, 4-way quantized, CWBVH * Support for WASM / EMSCRIPTEN, g++, clang, Visual Studio @@ -134,7 +133,8 @@ This version of the library includes the following functionality: * Custom primitives can be intersected via callbacks (new in 1.2.2) * Clear data ownership and intuitive management via the new and simplified API, with lots of help from David Peicho * You can now also BYOVT ('bring your own vector types'), thanks [Tijmen Verhoef](https://github.com/nemjit001) -* 'SpeedTest' tool that times and validates all (well, most) traversal kernels. +* 'SpeedTest' tool that times and validates all (well, most) traversal kernels +* A [manual](https://jacco.ompf2.com/2025/01/24/tinybvh-manual-basic-use) is now available. The current version of the library is rapidly gaining functionality. Please expect changes to the interface. diff --git a/tiny_bvh.h b/tiny_bvh.h index 176edba..3b87b1a 100644 --- a/tiny_bvh.h +++ b/tiny_bvh.h @@ -159,7 +159,7 @@ THE SOFTWARE. // library version #define TINY_BVH_VERSION_MAJOR 1 #define TINY_BVH_VERSION_MINOR 3 -#define TINY_BVH_VERSION_SUB 1 +#define TINY_BVH_VERSION_SUB 2 // ============================================================================ //