Skip to content

debowin/fray-tracer

Repository files navigation

Fray Tracer

A Fundamental Ray Tracer

A ray-tracing application capable of rendering fairly complex scenes. Scenes will be described in a simple, easy to parse text specification file.

FEATURES

  • Camera placement, film resolution, aspect ratio
  • User specified background colors
  • BMP or PNG output
  • Spheres
  • Triangles
  • Ambient lights
  • Point light sources
  • Directional lights
  • Spot Light Sources
  • Shadows
  • Multiple light sources
  • Basic Sampling
  • Color & Specularity (Phong Lighting Model)
  • Reflection
  • Refraction
  • Fresnel Reflectivity
  • Supersampling - Uniform, Random, Jittered
  • Parallelization with OpenMP

SHOWCASE

Spheres I - Uniform Supersampling (3)

Scene File


Spheres II - Random Supersampling (3)

Scene File


Teddy Bear - Jittered Supersampling (3)

Scene File


Spheres III - Jittered Supersampling (4)

Scene File


Spheres III X

Scene File


Shadow Test

Scene File


Bottle

Scene File


Bottle (No Label)

Scene File


Gear

Scene File


Arm Reach

Scene File


Arm Top

Scene File


Dragon

Scene File


Watch

Scene File