Red1C3 / mirror-example

A simple mirror simulator made with OpenGL 3.3 and C++

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mirror-Example

A simple mirror example using OpenGL 3.3 with C++.

Theory

It basically constructs a camera at the mirror location, by determining its view direction, and that's by reflecting the observer to mirror vector using the mirror normal, also the FOV of the mirror's capturing camera is determined by the observer's distance from the mirror.

Usage

Make sure the executable is in the same directory as the Assets folder (not inside of it), and run the executable, WASD navigation is working.

Building

Using Meson, or without if you know how you do it...

Required dependencies:

License

Under MIT, check License

Made with escaping-out-the-mirror kittens

About

A simple mirror simulator made with OpenGL 3.3 and C++

License:MIT License


Languages

Language:C++ 79.5%Language:GLSL 19.0%Language:Meson 1.3%Language:Shell 0.2%