Skip to content

KarthikJay/raytracer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Simple Raytracer Program

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published