Interesting fact - Durer used a kind of 3d rendering engine to study and teach perpective. He made a woodcut of it called "Man Drawing a Lute". I learned it from Computer Graphics Principles and Practice which uses it to teach how 3d rendering works. See [1] or [2] for illustration and description of the method.
He also made another woodcut called "Daraughsman Drawing a Recumbent Woman" with more practical method. See illustration [3].
1. https://trinitycollegelibrarycambridge.wordpress.com/2014/05...
2. https://virtualterritory.wordpress.com/2007/05/31/did-albrec...
3. https://commons.wikimedia.org/wiki/Category:Draughtsman_draw...