This project updated on 09/03/2016 to correct error in perspective projection. This project uses the following perspective projection formula: P'x = View Factor X [ Px / (Pz + z.offset) ] P'y = View Factor X [ Py / (Pz + z.offset) ] Rotation: arrow keys, mouse Zoom / Sink: m, n key Key / Mouse: space bar Reset: r key End All: e key
Reference Projects: 1. 3D Interactive Cube (back-face culling) by 12cm https://scratch.mit.edu/projects/60098288/ 2. 3D Interface: Sphere by selim_tezel https://scratch.mit.edu/projects/71476816 3. 3D Engine -part 3 (moving the camera) by DadOfMrLog http://scratch.mit.edu/studios/202972 4. Part 7 Lighting and Material Color remixed by Canthiar https://scratch.mit.edu/users/Canthiar/