Skip to content

An extensible ray-tracing library implemented entirely in Java

License

Notifications You must be signed in to change notification settings

rsarendus/eyebased-raytracer

Repository files navigation

Eye-based Ray-tracer

This is just a hobby project - a re-write of an old hobby project that I was working on many years ago. The current primary purpose of this project is to practice writing clean and easy to understand (and hopefully performant) Java code, nothing more.

Build

Building the project requires at least JDK 11 and Apache Maven.

  1. Fetch and build vecmath library version 0.4.0-alpha

  2. Fetch the project from GitHub:
    git clone https://github.com/rsarendus/eyebased-raytracer.git

  3. Navigate into the project's root directory:
    cd eyebased-raytracer

  4. Build the project using Maven:

    • Compile and package as JARs into the project's target directories:
      mvn clean package
    • Or compile, package and install into your local repository:
      mvn clean install
    • Or for more options read about Maven Build Lifecycle

Demo

In order to be able to run the demo desktop application, the project has to be built using the demo profile:

mvn clean package -Pdemo

After that, the demo desktop application could be run:

java -jar eyebased-raytracer-demo/target/eyebased-raytracer-demo-0.0.0-SNAPSHOT-jar-with-dependencies.jar

More to Come

  • More geometric primitives
  • Triangle meshes
  • Texturing
  • Acceleration structures
  • Post-processing pipelines
    • de-noise
    • bloom
    • etc...

About

An extensible ray-tracing library implemented entirely in Java

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages