Difference between revisions of "3D Fundamentals Tutorial 20"
From Chilipedia
(→Bonus Tool) |
|||
Line 20: | Line 20: | ||
== Bonus Tool == | == Bonus Tool == | ||
− | Pindrought (Jpres) from the forum whipped up a visualization tool that helps with projection and various other transforms as a companion to his own 3D series. You can check it out [https://github.com/Pindrought/DirectX-11-Engine-VS2017/tree/CameraMatrixDemo here]. | + | Pindrought (Jpres) from the forum whipped up a visualization tool that helps with projection and various other transforms as a companion to [https://www.youtube.com/playlist?list=PLcacUGyBsOIBlGyQQWzp6D1Xn6ZENx9Y2 his own 3D series]. You can check it out [https://github.com/Pindrought/DirectX-11-Engine-VS2017/tree/CameraMatrixDemo here]. |
== See also == | == See also == |
Revision as of 02:10, 31 October 2018
Projection matrix! Because why solve a problem with a simple solution when you can use a complicated one! All joking aside, matrix encoding of projective (perspective) transform is widely used so you gotta get familiar with this shit.
Contents
Topics
- Review of perspective projection (divide)
- Viewing frustum
- NDC (Normalized Device Coordinate) space
- Homogeneous coordinate normalization
- Derivation of projection matrix
- Backface culling projection adjustment
- Aspect ratio control
- FOV (Field of View) control
Video
The tutorial video is on YouTube here.
Downloads
The GitHub repository for the tutorial code is here.
Bonus Tool
Pindrought (Jpres) from the forum whipped up a visualization tool that helps with projection and various other transforms as a companion to his own 3D series. You can check it out here.