Skip to content

About

Coded in C++ with OpenGL (GLFW for windowing, GLSL shader programming, GLM for matrix/vector computation)

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

11 Commits

Folders and files

Repository files navigation

OpenGL-Interactive-Light-Simulation

Coded in C++ with OpenGL (GLFW for windowing, GLSL for shader programming, GLM for matrix/vector computation)

Open Application.exe to run

Controls:

1 - render bunny object
2 - render sandal object
3 - render bear object

N - switch between normal coloring and Phong illumination coloring

Z - switch to "Mode 1"
X - switch to "Mode 2"
C - switch to "mode 3"

In Mode 1:
Left mouse button to rotate object
Scroll to scale object

In Mode 2:
Left mouse button to rotate light around the object
Scroll to move light closer to or farther from the object

In Mode 3:
Left mouse button to rotate light and object together
Scroll to scale object and move light closer to or farther from the object

About

Coded in C++ with OpenGL (GLFW for windowing, GLSL shader programming, GLM for matrix/vector computation)

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages