Рет қаралды 35,750
We implement functions to create the orthographic projection and the perspective projection matrices. Projection matrices change the shape and location of vulkan’s canonical view volume. This allows us to render objects outside of the canonical vulkan view volume, and apply perspective to the objects, making objects appear smaller as their z-depth increases.
Perspective Matrices (Theory) Video - • The Math behind (most)...
0:00 - Intro
0:30 - Camera header
2:12 - Camera Implementation
2:48 - Update Render System to use camera
4:00 - Create camera with orthographic projection
5:00 - Viewport transform and the aspect ratio
6:58 - Camera with perspective projection
** View File Changes **
github.com/blurrypiano/little...
** View Tutorial Github **
github.com/blurrypiano/little...
** Projection Matrices PasteBin **
pastebin.com/eFwnyuX6
** View playlist **
• Vulkan Game Engine Tut...
** Some other resources **
My github for this series - github.com/blurrypiano/little...
Official vulkan samples - github.com/KhronosGroup/Vulka...
“Vulkan and the Vulkan logo are registered trademarks of the Khronos Group Inc.”