Skip to content

Latest commit

 

History

History
44 lines (33 loc) · 1.08 KB

README.md

File metadata and controls

44 lines (33 loc) · 1.08 KB

Raytracer

This is a C++ raytracer developed for CPE 473 at Cal Poly.

Features

  • POV-Ray file parsing
  • Shading
    • Blinn-Phong
    • Cook-Torrance
  • Simple Geometry
    • Box
    • Sphere
    • Triangle
    • Plane
  • Reflections
  • Refractions
  • Spatial Data Structures
  • Super Sample Anti-Aliasing
  • Ambient Occlusion

Sample Images

Box Reflection

Image of BunnyAO

Resources

Hammersley Hemisphere Distribution

Ambient Occlusion General Function

Ambient Occlusion Shader

Dependencies

Eigen 3.0+

CMake 3.5+

C++11 Compiler

STB Image Writer

Installation

  1. Clone or Fork this repo
  2. Run cmake
  3. Run make