How to make 3d with like drawing triangles to make a mesh kind of

I’ve seen meshes for cubes and stuff and the triangles and stuff but I don’t get how to do that in snap!. Im not trying to make a game, I just wan’t to render 3d.

If you just want to create 3d objects, you can try out the 3d beetle geometry library (be aware rhat it’s not really well suited to moving objects, it’s better for creating objects with code). If you want to know how to render 3d on your own (not using existing code), I’m sure you can find tutorials online, and you could search up 3d projects on the forum to see what others have done. I personally couldn’t tell you how, I mainly just wanted to make this post to point you to the 3d beetle geometry library in case that’s what you wanted.

So I’m kind of making a raycaster on snap!, then Simple 3D on turbowarp(the extension by vadik) and finally moving to Godot (I do know c++ but I despise python and gdscript)

If you don’t mind my asking, how come?

For anyone who wants to know, the math for rendering are these 2 equations(these assume you are facing perfectly forward and are at 0,0,0 so you need to tranform any inoitted coordinates relative to you)

Screen X= X/Z *focal length
Screen Y= Y/Z *focal length.

Thats all there is to it. Its very simple and easy to implement. For transforming, subtract all coordinates by your coordinates and then for rotating, there is alot of math so ill just send the blocks if anyone can tell me how you can send files through the snap! Forum

Just drag and drop the script pics into the editor. There should also be an upload button in the editor controls at the bottom.

Here you guys go. Have fun figuring out what any onf the vector transforming stuff means
untitled script pic
untitled script pic 2

Wait, that doesnt tell you anything. Here you go for real this time


Actually, the first pictures you sent work just fine! We can drag them into Snap and get the blocks, complete with their definitions.

Oh. Okay. Now i know.

Already posted in another 3D thread… Not my project

Filled triangle implemented by consecutive pen strokes from single point

Thats cool. I kinda gave up on my 3d renderer but maybe ill get back to it