Skip to content

Latest commit

 

History

History
34 lines (28 loc) · 792 Bytes

README.md

File metadata and controls

34 lines (28 loc) · 792 Bytes

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}
}