Skip to content

phasmatic3d/webrays

Repository files navigation

WebRays - Ray Tracing on the Web

version

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.

Sources

All required files to build and use WebRays can be cloned with

git clone https://github.com/phasmatic3d/webrays.git

Building

View the building instructions.

Examples

Examples for both native and web versions of the library can be found under the examples folder

API Reference

A quick reference for the Web, Native and GLSL APIs can be found here

Contributing

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!