You can adjust the light's position and color in this 3D scene and fly around inside the scene. Educational purpose only.
- wasd and mouse : move/fly around
- Left Control : descend
- Space : ascend
- F1 : toggle between ImGUI window and scene.
- F2 : toggle between light's depth map and scene.
- F5 : reload
shader.vert, shader.fragand recompile that shdaer program.
- You need to provide your local version of
vcpkg.cmakeand replace the path ofCMAKE_TOOLCHAIN_FILEinCMakePresets.jsonwhen opening this project. - This project uses
cl.execompiler (Visual C++) - This project might not open in Visual Studio since I used once only for initializing CMake project.
- I worked with Visual Studio Code's CMake extension and stuffs. They are pretty handy since they let you interact with CMake project with GUI. Following are extensions in Visual Studio Code.
CMakeCMake Language SupportCMake ToolsC/C++ Extension Pack
- sketchfab - neco arc 3D model
- glm: OpenGL Mathematics
- gl3w: OpenGL profile loader
- GLFW: OpenGL library
- fmt: formatting library
- stb:
stb_image.his used for image loading function - assimp: model loader
- Dear ImGUI: GUI library for C++
CMakefor C++ project,vcpkgfor managing libraries.
