ScratchData LogoScratchData
Back to iaobardar's profile

3D Wireframe Camera

IAiaobardar•Created June 11, 2020
3D Wireframe Camera
7
7
99 views
View on Scratch

Instructions

A working 3d projection. -- Features -- 1. conversion of points into screen space 2. camera rotation 3. line clipping (has a couple of tiny bugs: Help?) 4. not drawing lines when completely off-screen

Description

-- Update log -- - June 15, 2020: Prevented lines from drawing when both points are outside the screen on the same side, i.e. when they wouldn't show up on the screen. - June 13, 2020: Added line clipping using custom clipping method: https://scratch.mit.edu/projects/404677855/ Renamed project from "Perspective Camera Transform Thing." to "3D Wireframe Camera. - June 11, 2020: Created the project as a rewrite of https://scratch.mit.edu/projects/391802941/ with working rotation and perspective transform.

Project Details

Project ID404180135
CreatedJune 11, 2020
Last ModifiedOctober 26, 2020
SharedJune 11, 2020
Visibilityvisible
CommentsAllowed