A lot of trigonometry, a bit of linear algebra, and a touch of art! I spent some time exploring the science (and math) behind how perspective works in art and construction drawings. The result was really fascinating, so I designed this renderer in Desmos.
Feel free to edit: https://www.desmos.com/calculator/ojlzsdvyyd
Some interesting questions to explore are how this generalises to higher dimensions, what this would look like in other geometric spaces (e.g. hyperbolic space), and how shaders and curves work with this!
Opmerkingen