Difference between revisions of "Advanced C++ Programming Tutorial 5"

From Chilipedia
Jump to: navigation, search
(Part 2)
(Part 2)
Line 10: Line 10:
 
=== Part 2 ===
 
=== Part 2 ===
 
* Augmented 3x3 matrix for encoding translations
 
* Augmented 3x3 matrix for encoding translations
 +
* Matrix multiplication order matters!
 
* Porting pipeline to use matrix transforms
 
* Porting pipeline to use matrix transforms
 
* Bug hunting!
 
* Bug hunting!

Revision as of 23:55, 24 August 2018

Hot take: the Matrix is a mediocre film at best. It's a pretty great way to encode transformations though, so let's matrix it up!

Topics

Part 1

  • Matrix form
  • Matrix by vector multiplication
  • Matrix encoding of scaling, rotation, and flipping
  • Matrix multiplication
  • Concatenating matrix transforms

Part 2

  • Augmented 3x3 matrix for encoding translations
  • Matrix multiplication order matters!
  • Porting pipeline to use matrix transforms
  • Bug hunting!

Video Timestamp Index

Links

  • GitHub Repo (advmath)
  • Note that the code for this tutorial can be found on the <starfield> branch of the repo not in <master>

Homework

None! (or check out 3D Fundamentals you lazy fucks!)

See also