/RTR-Reflection-and-refraction-models

A visualisation and comparison of different reflection and refraction models in OpenGL using reflection and refraction boxes.

Primary LanguageC++MIT LicenseMIT

Real-time Reflection and Refraction Models

A visualisation and comparison of different reflection and refraction models in OpenGL using reflection and refraction boxes.

About this repo

This repository provides a way to visualize and compare various reflection and refraction models in OpenGL using reflection and refraction boxes. It's not just about exploring separate shaders; you can also make on-the-fly changes to shader settings in real-time. This showcases how these adjustments affect the rendered scene.

Demo video

Watch the video

Getting Started

Dependencies

Installing

  1. Clone this repository.
git clone https://github.com/borjagq/RTR-Reflection-and-refraction-models/
  1. Open the project Lab2.xcodeproj

  2. Build and run

License

This project is licensed under the MIT License - see the LICENSE file for details

Acknowledgments

This repository incorporates essential components from the open-source libraries stb and Dear ImGui. These libraries provide the file read/write and GUI functionalities. For further details about these libraries, visit their GitHub repositories.