- The formula is f(x, y, z) = [x/z, y/z], which does perspective projection of a 3D coordinate onto a 2D plane.
I can't really say that this formula demystifies things, but the video is nice if you're eager to learn about this.
by dustbunny
1 subcomments
- I've been watching a ton of Tsoding lately. I really like nob.h his build system and I've been using it in my projects. Why we ever used a different language to build C/C++ seems so insane. Using the same language for the build system is just far simpler
by diabllicseagull
2 subcomments
- if you are a little bit familiar with graphics you go: duh, things appear smaller with increasing distance. if you are not tho, it's a great intro to perspective projection. I love how accessibly educative his videos are.
- The world of homogeneous coordinates (https://en.wikipedia.org/wiki/Homogeneous_coordinates) is magical and extends beyond just points and lines to conics.
The Multiview Geometry Book begins with a great deep dive on the topic.
https://www.cambridge.org/us/universitypress/subjects/comput...
- Nothing demystifies 3D graphics more than learning the relevant rudimentary parts of linear algebra.
Casey Muratori's Handmade Hero series has several excellent explainers aimed at aspiring game developers, there's even a math playlist:
https://www.youtube.com/playlist?list=PLEMXAbCVnmY7lyKDlQbdb...
Learning that perspective happens via /z is nowhere near sufficiently demystifying IMO
- [flagged]