yussifm / Path-tracer-using-OpenGL

A path tracer made using OpenGL shaders with decent UI

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Path-tracer-using-OpenGL

A path tracer made using OpenGL with decent UI. This path tracing works with non-polygon graphics, which means that all distance calculations are based on the position and direction of the ray.

BA0GHUpS CAJZ0V4q rsu6tCdx

For those who wants to run this project I have built the project and added it to this repository in the "Executable/" folder.

Features

  • 3 different types of object - Cube, Sphere and Plane
  • 3 types of materials - Rougth - Metalic, Lens, Light source (emissive material)
  • Depth Of Field effect
  • Accumulation of previous frames to denoise the image
  • You can load any images you want for the skybox (.png or .hdr)

Controls

  • W, A, S, D, left Shift and Space - Move the camera
  • Mouse - Rotate the camera
  • E - Disable or Enable the camera movement
  • R - Disable or Enable the Render mode
  • F - Hide or Display the User Interface
  • T - Make a screenshot of the scene

Useful links that helped me with this project

About

A path tracer made using OpenGL shaders with decent UI

License:MIT License


Languages

Language:C++ 71.0%Language:C 27.8%Language:GLSL 0.7%Language:Objective-C 0.5%