Hacker News
One Formula That Demystifies 3D Graphics
smokel
|next
[-]
I can't really say that this formula demystifies things, but the video is nice if you're eager to learn about this.
ndepoel
|root
|parent
|next
[-]
One important revelation in that regard for instance, was that moving a camera within a world is mathematically exactly the same as moving the world in the opposite direction relative to the camera. Once you get a feel for how transformations and coordinate spaces work, you can start playing around with them and a whole new world of possibilities opens up to you.
sebular
|root
|parent
|next
|previous
[-]
The rotation formula eludes me.
smokel
|root
|parent
|next
[-]
Interestingly, in a way, rotation is less mystical than the perspective projection. The rotation is linear: x' = Rx, but the perspective projection is non-linear.
This is where things become fun. Next up are homogeneous coordinates or quaternions. Takes a few years of your life to actually enjoy this though :)
chuckadams
|root
|parent
|next
[-]
storus
|root
|parent
|next
|previous
[-]
dustbunny
|next
|previous
[-]
diabllicseagull
|next
|previous
[-]
macintux
|root
|parent
|next
[-]
https://www.essentialvermeer.com/technique/perspective/histo...
gmiller123456
|root
|parent
|next
[-]
smokel
|root
|parent
|previous
[-]
It is quite likely that artists in earlier periods struggled with this as well, and were less concerned with adhering strictly to a photographic or geometrically exact perspective, as we are. The adoption of the camera obscura probably influenced things a lot.
qingcharles
|root
|parent
|previous
[-]
0xfaded
|next
|previous
[-]
The Multiview Geometry Book begins with a great deep dive on the topic.
https://www.cambridge.org/us/universitypress/subjects/comput...
pengaru
|next
|previous
[-]
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