Simple Java Ray Tracer
Java
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
gradle/wrapper
scenes
src/main
.gitignore
README.md
build.gradle
gradlew
gradlew.bat
settings.gradle
test-render.png

README.md

Simple Java Ray Tracer

In 2012 I stumbled upon a blog post by Barak Cohen titled 'Ray Tracing: A Simple Java, Open Source Implementation'.

It was posted back in 2008 and provided an attached Eclipse project written by Barak Cohen and Gur Dotan.

I have updated the project structure to build using Gradle. Unfortunately the original authors chose to use SWT (The Standard Widget Toolkit) for the gui so builds will have to be platform specific. I've added the 64bit swt libs for Windows, Mac and Linux for convenience. The build properties will detect which lib is needed at build time.

To build and run the project simply run the Gradle wrapper in the projects root directory:

./gradlew run

alt text