Ray Tracing and Phong Shading

Github Link

Overview

This is a C++ programmed OpenGL implementation of a ray tracing algorithm combined with the phong shading model to produce realistic looking lighting against primitive objects.

Skills Learned

  • Fundamentals of ray tracing algorithms and its implementation from scratch
  • Implementing the phong shading model in a realistic manner
  • Generating an image file
  • Generating primitive shapes with their own structures for creating realistic lighting models

Future Features

  • Adding in more complex shapes (such as a teapot) to better show off the algorithms in action
  • Reflections and soft shading models
  • The ability to render in real time, along with camera controls

Screenshots

Code Snippets

This slideshow requires JavaScript.

Leave a comment