ScratchData LogoScratchData
Back to soa314's profile

[2nd fastest] Platonic Solids (Triangle by Triangle)

SOsoa314•Created June 22, 2020
[2nd fastest] Platonic Solids (Triangle by Triangle)
7
3
79 views
View on Scratch

Instructions

Hover the mouse around the screen to rotate polyhedra. Click buttons on the right side of the screen to change the polyhedron. マウスを動かして多面体を回転します。画面右のボタンで多面体を切り替えます。

Description

The below project is faster to render than this. It uses back-face culling method: https://scratch.mit.edu/projects/412214368/ My original project that renders 3D objects pixel by pixel: https://scratch.mit.edu/projects/398823781/ My second 3D project that renders 3D objects row by row: https://scratch.mit.edu/projects/403647419/ This algorithm renders a 3D object triangle by triangle. In my computer, this algorithm is faster than rendering them pixel by pixel or row by row. Thanks to @Howtomakeausername for the empty sprite that reduces lag. Cartesian coordinates of the vertices of Platonic solids: https://en.wikipedia.org/wiki/Platonic_solid#Cartesian_coordinates 下のプロジェクトの方がレンダリングが速いです。バックフェースカリングを用いています。 https://scratch.mit.edu/projects/412214368/ 私の原作(ピクセル単位でレンダリング): https://scratch.mit.edu/projects/398823781/ 私の2個目の3D作品(行単位でレンダリング): https://scratch.mit.edu/projects/403647419/ このアルゴリズムは3D物体を三角形ごとにレンダリングします。 私のコンピューターでは、ピクセル単位や行単位でレンダリングするよりも処理が高速になります。 遅延を減らす空のスプライトについては、 @Howtomakeausername さんに感謝します。 正多面体のデカルト座標(英語): https://en.wikipedia.org/wiki/Platonic_solid#Cartesian_coordinates

Project Details

Project ID406718594
CreatedJune 22, 2020
Last ModifiedMarch 10, 2021
SharedJuly 10, 2020
Visibilityvisible
CommentsAllowed