The goal of WebRays is to offer a flexible and easy-to-use programming interface for robust and high-performance ray intersection tests on modern browsers. The core library is developed in C++ and compiled to WebAssembly. Although the main target of webrays is the Web, it can also be compiled and used as a native library on desktop platforms.
All required files to build and use WebRays can be cloned with
git clone https://github.com/phasmatic3d/webrays.git
View the building instructions.
Examples for both native and web versions of the library can be found under the examples
folder
A quick reference for the Web, Native and GLSL APIs can be found here
We'd love to accept your patches and contributions to the WebRays project.
- Try out WebRays in one of your projects and report any issues and bugs.
- If you use WebRays in your own project, we'd love to hear about it!