Likely incorrect JS raytracer.
- Octree
- Shadows
- Reflections
- Refractions
- Materials: Phong, Lambertian, Flat, Cook-Torrance shading
- Rudimentary OBJ mesh loading: click the bunny button!
- WebWorkers for parallel rendering
- Fresnel calculations for reflect/refract strength
A rewrite to clean up code and use web workers is pending.
- Download or clone this repository.
- Run
index.html
in a web browser.