/Example-GUI-OpenCL-Raytracer

Raytracer made with C and OpenCL. Includes a single image renderer and an interactive GUI window with camera controls

Primary LanguageC

Example OpenCL raytracer

Raytracer (not a pathtracer) made with pure C and OpenCL. Includes a single image renderer and an interactive GUI window with camera controls. A big thanks to minifb for allowing to render framebuffers on a canvas with camera controls.

Includes a material model with following constant properties:

  • Ambient
  • Diffuse
  • Specular
  • Shininess
  • Transperent
  • Dielectric (y/n)
  • Index of Refraction
  • Reflectivity
  • Textures

Results

A snippet from the interactive raytracer window:

output