ScratchData LogoScratchData
Back to chiru3's profile

Filled 3D engine part 3: Movement

CHchiru3•Created November 22, 2020
Filled 3D engine part 3: Movement
1
0
9 views
View on Scratch

Instructions

This is a render of part of a cube using the 3D engine I am developing. Apparently, it is working. Now all I need to do is implement camera rotation. To move, use the sliders. (No instructions)

Description

Credits: @chiru3 (for everything else) Notes: After the failure of the first filled 3D engine, I have decided to make another one, this time with different workings. This is part 2, which is the full engine except you cannot rotate the camera. How it works: First the project translates the entire world such that the observer is at the origin. Then the project clips the triangle such that no part of the resulting polygon is not visible. Then it projects the vertices of the resulting polygon into 2D space. And finally it draws the polygon on the screen! Notes: The only thing I have to do is implement camera rotation now. The previous one was around 1000 blocks, but this one is around 300 blocks so far.

Project Details

Project ID453191732
CreatedNovember 22, 2020
Last ModifiedNovember 29, 2020
SharedNovember 22, 2020
Visibilityvisible
CommentsAllowed