Difference between revisions of "3D Fundamentals Tutorial 20"

From Chilipedia
Jump to: navigation, search
Line 13: Line 13:
 
== Video ==
 
== Video ==
  
The tutorial video is on YouTube [https://youtu.be/buttsbutts here].
+
The tutorial video is on YouTube [https://youtu.be/8bQ5u14Z9OQ here].
  
 
== Downloads ==
 
== Downloads ==

Revision as of 22:46, 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