A real-time, GPU accelerated, interactive path tracing engine written in C and OpenGL.
- Geometry:
- Floor and sky
- Sphere
- Triangle
- AABB
- SDF (Ray marching)
- Material:
- Diffuse
- Emissive
- Glossy/Metallic
- Specular
- Glass
- Features:
- Interactive camera
- Continuous rendering
- Scene loading
- VBH generation
- Adaptive sampling
- Depth of field
- Motion blur
Linux build
- A C99 compiler
- GNU make
- GLFW
- GLEW
WebAssembly build
- Clang
- A web server (ex:
python -m http.server
)
Windows build
¯\_(ツ)_/¯
Running this will compile both the Linux version and the web version
make
Compile with debug symbols then use gdb to debug
make debug
gdb ./debug/app
For the Linux version, the executable is located at ./build/app
For the web version use a web server (See above) to host the website.
This project is licensed under the MIT License.