Wiki

Clone wiki

jtrace / Home

Java-Raytracer: JTrace

This is a raytracer written in Java. It supports various objects and volumes:

  • Sphere
  • 3D Cubic Bezier Patch
  • Plane
  • Triangle

It computes the lighting with phong shading model with light occlusion test for shadows. Te rendering is incremental and requires different pass to complete a single frame, this improves the interactivity when the full frame rendering delay is too high.

Video: http://www.youtube.com/watch?v=hqgmLmIgLSo

Webpage: http://jtrace.altervista.org/ (whith theory, manual and applet)

Here are some screenshots of the running application built on Eclipse:

Main view with the toolbox:

Different shading styles:

Old screenshots:

Updated