/raytracer

Raytracer: draws images of rich 3D scenes, with lights, shadows, reflection etc.

Primary LanguageC++

A Raytracer in C++

Given a scene description, renders an arbitrary resolution image file by tracing rays from camera to objects, taking care of reflections and shadows.

Scene Description

  • XML language to describe scene
  • Planes
  • Spheres
  • Each object has color, transparency
  • Light sources
  • Camera position and angle

example rendered scene here.