Lodge (2018)
Lodge is a 3D application developed using DirectX framework. The project aims to explore different complex features available to make the scene look beautiful.
Goal of the project
I started learning graphics programming using DirectX and C++ by working on the Lodge project. The goal of this project was to learn advanced graphic techniques such as texture mapping, skybox implementation, 3D positional sound, spotlight effects, and free camera movements.
Why this project?
I decided to create a lodge that resembles a living room. I integrated elements like texture mapping, model loading, spotlight, 3D sound, and skybox with objects typically found in a lodge.
What were the problems faced during the development of this project?
Working with shaders and graphics API for the first time made the learning curve of this project quite steep. I distinctly remember encountering challenges with getting the spotlight to function correctly.
How was the problem resolved?
During the debugging process, I discovered that there was a mismatch in padding when passing data from the vertex shader to the fragment shader. Specifically, I was sending a Vector 4 from the vertex shader but only receiving a Vector 3 at the fragment shader, which was causing the light to malfunction. After successfully debugging and resolving the issue, everything was working correctly.