English is below 軽量化に興味を持ち作ってみました。 50-100blockくらいならscratchでも動かせます。 draw modeが大きいほど重くなりますがきれいに描画されます。 wasdqeキーで移動 矢印キーで回転。 何fpsだったかできるだけ教えてほしいです。 あと軽量化のアイデアも欲しい。お願いします。 結構いい感じにできた。満足 I was interested in making something lightweight, so I made this. It can run in Scratch if it's about 50-100 blocks. The larger the draw mode, the heavier it will be, but it will be drawn more clearly. Move with the wasdqe keys. Rotate with the arrow keys. I'd like to know the fps if possible. I'd also like some ideas for making it lighter. Thank you. It turned out pretty good. I'm satisfied
軽量化の工夫 ・この作品の醍醐味、三角形描画をコスチュームとペンで使い分けています。基本的には超軽量なコスチュームで描画をし、不安定になりやすいタイミングなどではペンで描画をしています。 ・立体の頂点演算数を工夫し、48回から8回まで減らすことに成功 ・ソート方法をバブルソートからクイックソートに変更。想像以上に軽量 化されてビビった。てか何で今までバブルか二分木使ってたんだ。 コスチューム三角形参考:@Chrome_cat Lightweight Techniques - The highlight of this work is the use of costumes and pens to draw triangles. I generally use an ultra-light costume, and only use a pen when the scene becomes unstable. - By devising a method, I successfully reduced the number of vertex operations for the solid from 48 to 8. - The sorting method was changed from bubble sort to quick sort. I was surprised at how much lighter it was than I expected. Why had I been using bubble or binary tree methods up until now? Costume triangle reference: @Chrome_cat #all #add #3d #engine #game