Skip to content

chillb0nes/ray-tracer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

70 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Java Ray Tracer

Build Status codecov Known Vulnerabilities Language grade: Java Total alerts

This is simple ray tracer with JavaFX GUI that can render some 3D figures.

Features

  • 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

Installation

git clone git@github.com:Stingray42/ray-tracer.git
cd ray-tracer
mvn package

Usage

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.

Screenshots

Credits

Ray-tracing algorithms mostly based on scratchapixel.com tutorials

Icons by icons8.com

Suzanne by blender.org

Releases

No releases published

Packages

No packages published