Skip to content

perceptiveshawty/ray-tracer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ray tracing from scratch

Built this as part of an assignment for a computer graphics course - the default scene demonstrates the features (reflection, anti-aliasing, motion blur, soft shadows, etc.) but arbitrary triangle meshes stored in wavefront (.obj) format can also be rendered.

Spheres

Requirements

  • GLEW-2.1.0
  • GLFW-3.3.8
  • GLM

Usage

# in working directory with glfw/glew/glm in parent directory
mkdir build
cd build
cmake ..
# compile and run
make -j4
./Assignment5

Citations

@book{marschner2018fundamentals,
  title={Fundamentals of Computer Graphics},
  author={Marschner, S. and Shirley, P.},
  isbn={9781315360201},
  url={https://books.google.com/books?id=9H10DwAAQBAJ},
  year={2018},
  publisher={CRC Press}
}

About

Barebones ray-tracer implementation with GLM

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published