3 ms·
What I don't like about TFA is the inconsistent, sloppy use of coordinates. Initially x,y,z are relative to the viewer with z going from the eye to the object.
by teo_zero 2y ago
What I don't like about TFA is the inconsistent, sloppy use of coordinates. Initially x,y,z are relative to the viewer with z going from the eye to the object. Some paragraphs later x,y are the horizontal plane with z going up. Then x and y are swapped (to overlap x onto y you have to rotate it 90° clockwise, the opposite of trigonometry's standard), only to be swapped again in the picture that shows the value of the angles. Coming to screen coordinates, all formulas and text assumes that y grows down, which is customary, but not the pictures accompanying the explanation how to calculate screen position from y.
Frankly, I'd expect more consistency from someone who invites his students to focus on the mathematical aspects, not only on the code.
- parasti 2y agoYeah, small inconsistencies and some hand wavy language put me off from reading the entire article. Like, what do you mean by "vertices appear bigger in perspective projection"? Vertices are just coordinates in space with no size.
- gustavopezzi 2y agoNoted.
- gustavopezzi 2y agoAuthor here. You're absolutely right. I got so used to reading resources on paper using Cartesian coordinates and having to account for it in screen space that I overlooked this conversion in the explanations. I'll go over it and amend it ASAP.