Ray Tracer

Ray Tracer

A CPU-based ray tracing engine built from scratch, supporting recursive reflections, Blinn-Phong lighting, shadows, and multiple geometric primitives.

Key Points

  • Implemented a full ray tracing pipeline with primary rays, shadow rays, and recursive reflection rays
  • Supported multiple geometric primitives including spheres, planes, boxes, and infinite cylinders
  • Added Blinn-Phong illumination with ambient, diffuse, and specular shading
  • Blended reflective materials with Blinn-Phong lighting for realistic mirror-like surfaces
  • Implemented hard shadows with accurate occlusion testing
  • Accelerated rendering using multithreaded CPU ray tracing
  • Developed as part of CSCE 441 - Computer Graphics at Texas A&M University