Skip to main content

OpenGL Ray-tracer

An experimental Computer Graphics project that uses OpenGL for GPU-accelerated ray-tracing. This project, completed in Summer 2022 was my second attempt at implementing a ray-tracer from scratch, after my initial attempt in 2020.

This project and its development process were showcased on my YouTube channel
Play video

Features include:

  • Ray-traced soft shadows
  • Ray-traced global illumination
  • Progressive rendering
  • Ray-traced reflections (including blurry reflections based on surface roughness)
  • HDR Skyboxes
  • Animation rendering
  • Basic Anti-aliasing
  • Bloom post-processing effect

Technical overview

  • Language: C++
  • Libraries & APIs used:
    • OpenGL for GPU-accelerated rendering
    • GLM for vector and matrix math
    • GLFW for window management
    • stb_image to load HDRI skyboxes

screenshot