Skip to content

Latest commit

 

History

History
17 lines (13 loc) · 912 Bytes

README.md

File metadata and controls

17 lines (13 loc) · 912 Bytes

java-raytracer

This project contains an extensive series of Java classes that make up together a raytracing render engine that can be used to generate realistic images. It uses mathematical models and formulas from the computer graphics field of study.

Some of this project's features are:

  • Hard shadows,
  • Blinn-Phong reflection model,
  • Point and directional lights,
  • Orthogonal and perspective cameras.
  • Simple 3D objects classes such as spheres and planes, and
  • An OBJReader class capable of loading 3D models with the .obj file extension,

The main class JavaRaytracer is the entry point of this program. It cointains already some basic methods that return some sample scenes that demonstrate the capabilities of this projetc.

You may feel free to create your own custom scenes using the classes that are provided by this repository and run the program in order to render any scene you want.