This is simple ray tracer with JavaFX GUI that can render some 3D figures.
- Multi-threaded ray tracing
- Cache for rendered images
- Sphere, Triangle and Mesh(group of triangles) rendering
- GUI with many different controls for scene settings
- Import/Export scene in JSON or YAML formats
- Gluon Ignite and Spring for DI
git clone git@github.com:Stingray42/ray-tracer.git
cd ray-tracer
mvn package
java -jar target/ray-tracer-1.0.0.jar
Use GUI to add or remove objects, import sample scene, or press Ctrl(⌘)+Alt+Z
to generate random scene.
Ray-tracing algorithms mostly based on scratchapixel.com tutorials
Icons by icons8.com
Suzanne by blender.org