ScratchData LogoScratchData
Back to sureornot's profile

3D->2D Perspective Projection (B)

SUsureornot•Created December 4, 2015
3D->2D Perspective Projection (B)
6
4
51 views
View on Scratch

Instructions

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

Description

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/

Project Details

Project ID90130278
CreatedDecember 4, 2015
Last ModifiedDecember 21, 2017
SharedDecember 11, 2015
Visibilityvisible
CommentsAllowed