/Prime

Pure Java written photo-realistic renderer with UI done in OpenGL and Swing

Primary LanguageJava

Prime




Prime is a physically based renderer built on pure Java with JOGL binding, featuring:

  1. Monte Carlo path tracing.
  2. Photon Mapping.
  3. Customizable material and rendering pipeline.

Features will be added: 1. Network distributed rendering. 2. Texture mapping and normal mapping.

How to run

Make sure you have installed JDK 1.7+ and Maven, then run the following command:

mvn clean install exec:exec

A built-in Swing GUI will kick off, and there is a sample scene.obj scene file which can be imported.

Minimal Manual

  • Click mouse left button to select a model
  • Dragging mouse middle button to move camera
  • Dragging mouse right button to rotate camera