A 3D real-time simulator which simulates phong reflection model
Phong Reflection Model Simulator is a simple 3D graphics simulator written in C++ and OpenGL.
It is a brief program that simulates how phong reflection models work.
Phong refelction model utilizes phong lighting model in order to create reflection on surface.
Phong lighting model consists of three components: ambient lighting, diffuse lighting, and specular lighting.
In this simulator, you can control ambient lighting and diffuse lighting by modifying ambient intensity and diffuse intensity of lights in the "Light" tab.
Furthermore, specular lighting can be controlled by modifying specular powers of materials that meshs have in the "Material" section under the "Mesh" tab.
Addtional features of lights and meshs as well as those of a camera and a skybox are available as well.
The project was done on Windows 10, Visual Studio 2019 with Modern C++. OpenGL was used as a 3D graphics API.
For OpenGL extension loading library, GLEW is used.
For OpenGL utility library, GLFW is used.
For mathematics library, GLM is used.
For asset importer, ASSIMP is used.
For image importer, STB(stb_image) is used.
For the graphical user interface, Dear ImGui is used.
The work is on-going. I’m planning to use the program as a viewport for my future graphics projects.
MIT License