A simple raytracer written in Java.
- Multi-threaded raytracing
- Shadows
- Reflections up to abitrary depth
- Progressive rendering - see your render as it progresses
- Simple shapes: sphere, box
- Different materials per shape
- Maven
- Java 14 with preview features enabled
Jamtracer can be built with maven:
mvn clean install
Once the build is done, an executable JAR will be created under target/jamtracer-x.y.z-SNAPSHOT-shaded.jar
Currently Jamtracer doesn't support any command-line arguments, the shaded JAR can be run as-is:
java --enable-preview -jar target/jamtracer-*-shaded.java
Docs can be generated via maven:
mvn site
The generated documents can be found under target/site/apidocs
.
See LICENSE.