Skip to content

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

License

Notifications You must be signed in to change notification settings

Red1C3/mirror-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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++

Topics

Resources

License

Stars

Watchers

Forks