Difference between revisions of "3D Fundamentals Tutorial 20"

From Chilipedia
Jump to: navigation, search
(Created page with "Projection matrix! Because solve a problem with a simple solution when you can use a complicated one! All joking aside, matrix encoding of projective (perspective) transform i...")
 
Line 1: Line 1:
Projection matrix! Because 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.
+
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.
  
 
== Topics ==
 
== Topics ==

Revision as of 22:10, 25 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.

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.

See also