Discuss Scratch

Penthusiast
Scratcher
46 posts

3D on scratch, And how it's professionally accomplished

hashdashpotato wrote:

Penthusiast wrote:

kittygamer8997 wrote:

Raman15 wrote:

_-ValX-_ wrote:

Raman15 wrote:

I MADE A 3D ENGINE! Which is actually real 3D, hope you guys love it https://scratch.mit.edu/projects/1227771913/
You can’t consider this a 3D engine, since it cant render other objects (and it also doesn’t use any 3D polygons or points, it’s just a 2D drawing that looks like 3D). Try implementing real 3D techniques like rasterization or raycasting, and I’m pretty sure you would make an epic 3D engine
Btw I used pen not costume I swear to god
Pen does not change the fact that the math isn’t 3D. 3D means it is calculating the positions of 3D points into 2D points with complex math to render. This is just 2D points creating an illusion. Use some tutorials to get started with. I recommend using MathMathMath’s tutorial to start with.

I disagree with “complex” math. It's really not complex at all, and I think saying so is daunting to beginners. It's not rocket science, just a simple projection equation.
What some people consider complex other people consider simple. It's quite subjective.

Perhaps so, but it's a misconception that 3D projection math is super hard to do, and it furthers the feeling in people that they can't do it when in reality it's just some multiplication and division.
kittygamer8997
Scratcher
69 posts

3D on scratch, And how it's professionally accomplished

hashdashpotato wrote:

Penthusiast wrote:

kittygamer8997 wrote:

Raman15 wrote:

_-ValX-_ wrote:

Raman15 wrote:

I MADE A 3D ENGINE! Which is actually real 3D, hope you guys love it https://scratch.mit.edu/projects/1227771913/
You can’t consider this a 3D engine, since it cant render other objects (and it also doesn’t use any 3D polygons or points, it’s just a 2D drawing that looks like 3D). Try implementing real 3D techniques like rasterization or raycasting, and I’m pretty sure you would make an epic 3D engine
Btw I used pen not costume I swear to god
Pen does not change the fact that the math isn’t 3D. 3D means it is calculating the positions of 3D points into 2D points with complex math to render. This is just 2D points creating an illusion. Use some tutorials to get started with. I recommend using MathMathMath’s tutorial to start with.

I disagree with “complex” math. It's really not complex at all, and I think saying so is daunting to beginners. It's not rocket science, just a simple projection equation.
What some people consider complex other people consider simple. It's quite subjective.
I agree, an example are age groups, so like someone like a elementary school student would find it confusing and complex, a middle schooler could understand it a bit, and a high school would know a lot more math and see it as less complicated. A part of 3D math is Trigonometry and thats not easy to understand.
kittygamer8997
Scratcher
69 posts

3D on scratch, And how it's professionally accomplished

Penthusiast wrote:

hashdashpotato wrote:

Penthusiast wrote:

kittygamer8997 wrote:

Raman15 wrote:

_-ValX-_ wrote:

Raman15 wrote:

I MADE A 3D ENGINE! Which is actually real 3D, hope you guys love it https://scratch.mit.edu/projects/1227771913/
You can’t consider this a 3D engine, since it cant render other objects (and it also doesn’t use any 3D polygons or points, it’s just a 2D drawing that looks like 3D). Try implementing real 3D techniques like rasterization or raycasting, and I’m pretty sure you would make an epic 3D engine
Btw I used pen not costume I swear to god
Pen does not change the fact that the math isn’t 3D. 3D means it is calculating the positions of 3D points into 2D points with complex math to render. This is just 2D points creating an illusion. Use some tutorials to get started with. I recommend using MathMathMath’s tutorial to start with.

I disagree with “complex” math. It's really not complex at all, and I think saying so is daunting to beginners. It's not rocket science, just a simple projection equation.
What some people consider complex other people consider simple. It's quite subjective.

Perhaps so, but it's a misconception that 3D projection math is super hard to do, and it furthers the feeling in people that they can't do it when in reality it's just some multiplication and division.
I think i see whats happening. Im talking about like rotation matrix too, the projection part isn’t complex.

Last edited by kittygamer8997 (Oct. 13, 2025 21:32:28)

nembence
Scratcher
500+ posts

3D on scratch, And how it's professionally accomplished

kittygamer8997 wrote:

Penthusiast wrote:

hashdashpotato wrote:

Penthusiast wrote:

kittygamer8997 wrote:

I disagree with “complex” math. It's really not complex at all, and I think saying so is daunting to beginners. It's not rocket science, just a simple projection equation.
What some people consider complex other people consider simple. It's quite subjective.

Perhaps so, but it's a misconception that 3D projection math is super hard to do, and it furthers the feeling in people that they can't do it when in reality it's just some multiplication and division.
I think i see whats happening. Im talking about like rotation matrix too, the projection part isn’t complex.

I think the Wikipedia page starts with the complicated maths and the idea behind the rotation matrix is much simpler than that.

A 3D rotation's matrix is a 3x3 grid and it looks like this:
To move 1 step   to the right / forwards / upwards,

change X by ...... 1 ......... 0 ......... 0
change Y by ...... 0 ......... 1 ......... 0
change Z by ...... 0 ......... 0 ......... 1
(scientists call a 2D grid of numbers a “matrix”)

The labels of the columns are usually chosen so that when there is no rotation, the ones form a nice diagonal line:
1 0 0
0 1 0
0 0 1
This makes some calculations easier.

To rotate the matrix, you can first use the old matrix to see how to move in the new orientation, then replace the columns using that info. You don't have to directly use trigonometric functions for this, you can also use the motion blocks:
go to x:(0) y:(0)
point in direction (rotation)
move (1) steps
set [new forwards X/Y/Z v] to (((y position) * (old forwards X/Y/Z)) - ((x position) * (old: to the right X/Y/Z)))
set [new: to the right X/Y/Z v] to (((y position) * (old: to the right X/Y/Z)) + ((x position) * (old forwards X/Y/Z)))
(although the motion blocks do use trigonometric functions under the hood, they might look simpler than a bunch of sin() and cos())

Last edited by nembence (Oct. 14, 2025 00:09:06)

hashdashpotato
Scratcher
1000+ posts

3D on scratch, And how it's professionally accomplished

nembence wrote:

kittygamer8997 wrote:

Penthusiast wrote:

hashdashpotato wrote:

Penthusiast wrote:

kittygamer8997 wrote:

I disagree with “complex” math. It's really not complex at all, and I think saying so is daunting to beginners. It's not rocket science, just a simple projection equation.
What some people consider complex other people consider simple. It's quite subjective.

Perhaps so, but it's a misconception that 3D projection math is super hard to do, and it furthers the feeling in people that they can't do it when in reality it's just some multiplication and division.
I think i see whats happening. Im talking about like rotation matrix too, the projection part isn’t complex.

The idea behind the rotation matrix is actually simple, the problem is that that the Wikipedia page starts with the complicated maths.

A rotation matrix is a 3x3 grid and it looks like this:
To move 1 step   to the right / forwards / upwards,

change X by ...... 1 ......... 0 ......... 0
change Y by ...... 0 ......... 1 ......... 0
change Z by ...... 0 ......... 0 ......... 1
(scientists call a 2D grid of numbers a “matrix”)

The columns are usually chosen so that when there is no rotation, the ones form a nice diagonal line:
1 0 0
0 1 0
0 0 1
This makes some calculations easier.

To rotate the matrix, you can first use the old matrix to see how to move in the new orientation, then replace the columns using that info. You don't have to directly use trigonometric functions for this, you can also use the motion blocks:
go to x:(0) y:(0)
point in direction (rotation)
move (1) steps
set [new forwards X/Y/Z v] to (((y position) * (old forwards X/Y/Z)) - ((x position) * (old: to the right X/Y/Z)))
set [new: to the right X/Y/Z v] to (((y position) * (old: to the right X/Y/Z)) + ((x position) * (old forwards X/Y/Z)))
(although the motion blocks do use trigonometric functions under the hood, they might look simpler than a bunch of sin() and cos())
I'm completely cooked. I'm at the beginning of pre-algebra!!!!!
nembence
Scratcher
500+ posts

3D on scratch, And how it's professionally accomplished

hashdashpotato wrote:

nembence wrote:

I'm completely cooked. I'm at the beginning of pre-algebra!!!!!
Maybe it's not as simple as I thought, and I felt like it is because I'm already used to it…
hashdashpotato
Scratcher
1000+ posts

3D on scratch, And how it's professionally accomplished

nembence wrote:

hashdashpotato wrote:

nembence wrote:

I'm completely cooked. I'm at the beginning of pre-algebra!!!!!
Maybe it's not as simple as I thought, and I felt like it is because I'm already used to it…
I'm going to finalize my plans of becoming a math nerd.
Penthusiast
Scratcher
46 posts

3D on scratch, And how it's professionally accomplished

kittygamer8997 wrote:

Penthusiast wrote:

hashdashpotato wrote:

Penthusiast wrote:

kittygamer8997 wrote:

Raman15 wrote:

_-ValX-_ wrote:

Raman15 wrote:

I MADE A 3D ENGINE! Which is actually real 3D, hope you guys love it https://scratch.mit.edu/projects/1227771913/
You can’t consider this a 3D engine, since it cant render other objects (and it also doesn’t use any 3D polygons or points, it’s just a 2D drawing that looks like 3D). Try implementing real 3D techniques like rasterization or raycasting, and I’m pretty sure you would make an epic 3D engine
Btw I used pen not costume I swear to god
Pen does not change the fact that the math isn’t 3D. 3D means it is calculating the positions of 3D points into 2D points with complex math to render. This is just 2D points creating an illusion. Use some tutorials to get started with. I recommend using MathMathMath’s tutorial to start with.

I disagree with “complex” math. It's really not complex at all, and I think saying so is daunting to beginners. It's not rocket science, just a simple projection equation.
What some people consider complex other people consider simple. It's quite subjective.

Perhaps so, but it's a misconception that 3D projection math is super hard to do, and it furthers the feeling in people that they can't do it when in reality it's just some multiplication and division.
I think i see whats happening. Im talking about like rotation matrix too, the projection part isn’t complex.

Rotation matrices aren't complex either.
kittygamer8997
Scratcher
69 posts

3D on scratch, And how it's professionally accomplished

nembence wrote:

kittygamer8997 wrote:

Penthusiast wrote:

hashdashpotato wrote:

Penthusiast wrote:

kittygamer8997 wrote:

I disagree with “complex” math. It's really not complex at all, and I think saying so is daunting to beginners. It's not rocket science, just a simple projection equation.
What some people consider complex other people consider simple. It's quite subjective.

Perhaps so, but it's a misconception that 3D projection math is super hard to do, and it furthers the feeling in people that they can't do it when in reality it's just some multiplication and division.
I think i see whats happening. Im talking about like rotation matrix too, the projection part isn’t complex.

I think the Wikipedia page starts with the complicated maths and the idea behind the rotation matrix is much simpler than that.

A 3D rotation's matrix is a 3x3 grid and it looks like this:
To move 1 step   to the right / forwards / upwards,

change X by ...... 1 ......... 0 ......... 0
change Y by ...... 0 ......... 1 ......... 0
change Z by ...... 0 ......... 0 ......... 1
(scientists call a 2D grid of numbers a “matrix”)

The labels of the columns are usually chosen so that when there is no rotation, the ones form a nice diagonal line:
1 0 0
0 1 0
0 0 1
This makes some calculations easier.

To rotate the matrix, you can first use the old matrix to see how to move in the new orientation, then replace the columns using that info. You don't have to directly use trigonometric functions for this, you can also use the motion blocks:
go to x:(0) y:(0)
point in direction (rotation)
move (1) steps
set [new forwards X/Y/Z v] to (((y position) * (old forwards X/Y/Z)) - ((x position) * (old: to the right X/Y/Z)))
set [new: to the right X/Y/Z v] to (((y position) * (old: to the right X/Y/Z)) + ((x position) * (old forwards X/Y/Z)))
(although the motion blocks do use trigonometric functions under the hood, they might look simpler than a bunch of sin() and cos())
Rotation matrix is a lot more complicated than whatever that says. It is transforming the 3D objects to be positions and rotated with the camera and then it is rendered with a projection equation converting it into a 2D screen position. I might have described something wrong, but my mindset is accurate.
kittygamer8997
Scratcher
69 posts

3D on scratch, And how it's professionally accomplished

Penthusiast wrote:

kittygamer8997 wrote:

I think i see whats happening. Im talking about like rotation matrix too, the projection part isn’t complex.

Rotation matrices aren't complex either.
I suppose… after you know how it can be done. there are simple equations and complex ones.
76finding_
Scratcher
3 posts

3D on scratch, And how it's professionally accomplished

do you know any optimisations for 3d triangle based projects
CozyDreamy
New Scratcher
1 post

3D on scratch, And how it's professionally accomplished

Yo Can You Help ME make a game?
hashdashpotato
Scratcher
1000+ posts

3D on scratch, And how it's professionally accomplished

CozyDreamy wrote:

Yo Can You Help ME make a game?
I'm a little busy right now. Unfortunately.
Penthusiast
Scratcher
46 posts

3D on scratch, And how it's professionally accomplished

kittygamer8997 wrote:

Rotation matrix is a lot more complicated than whatever that says. It is transforming the 3D objects to be positions and rotated with the camera and then it is rendered with a projection equation converting it into a 2D screen position. I might have described something wrong, but my mindset is accurate.

It is not “more complicated”. Matrices are beautiful, and very intuitive if explained properly. (I recommend 1Blue3Brown's video on matrices). I'm sick and tired of all this math stuff being overcomplicated for no reason, it just scares beginners off.
kittygamer8997
Scratcher
69 posts

3D on scratch, And how it's professionally accomplished

Penthusiast wrote:

kittygamer8997 wrote:

Rotation matrix is a lot more complicated than whatever that says. It is transforming the 3D objects to be positions and rotated with the camera and then it is rendered with a projection equation converting it into a 2D screen position. I might have described something wrong, but my mindset is accurate.

It is not “more complicated”. Matrices are beautiful, and very intuitive if explained properly. (I recommend 1Blue3Brown's video on matrices). I'm sick and tired of all this math stuff being overcomplicated for no reason, it just scares beginners off.
SagaSharma
Scratcher
1 post

3D on scratch, And how it's professionally accomplished

Hey Gl00B! Still can't get off that your just 16 years old! Wanted to say that your projects are really impressive, and this guide was really helpful
kittygamer8997
Scratcher
69 posts

3D on scratch, And how it's professionally accomplished

SagaSharma wrote:

Hey Gl00B! Still can't get off that your just 16 years old! Wanted to say that your projects are really impressive, and this guide was really helpful
Any age could be as impressive as him. Probably not someone young as a 8-11 y/o. It just depends on when you started scratch and how much you improve. I could say someone at the age of 13-14 could be as skilled as GL00B.

Last edited by kittygamer8997 (Oct. 22, 2025 22:00:14)

Raman15
Scratcher
100+ posts

3D on scratch, And how it's professionally accomplished

kittygamer8997 wrote:

Raman15 wrote:

_-ValX-_ wrote:

Raman15 wrote:

I MADE A 3D ENGINE! Which is actually real 3D, hope you guys love it https://scratch.mit.edu/projects/1227771913/
You can’t consider this a 3D engine, since it cant render other objects (and it also doesn’t use any 3D polygons or points, it’s just a 2D drawing that looks like 3D). Try implementing real 3D techniques like rasterization or raycasting, and I’m pretty sure you would make an epic 3D engine
Btw I used pen not costume I swear to god
Pen does not change the fact that the math isn’t 3D. 3D means it is calculating the positions of 3D points into 2D points with math to render. This is just 2D points creating an illusion. Use some tutorials to get started with. I recommend using MathMathMath’s tutorial to start with.
Well….v1.1 used math math maths tutorial! It's actually real 3D but for the updates the project has to be maintained with a maintenance message
vengeanceforsylvania
Scratcher
4 posts

3D on scratch, And how it's professionally accomplished

Crazy how easy it is when explained well
https://scratch.mit.edu/projects/964375025/
Acoder001
Scratcher
3 posts

3D on scratch, And how it's professionally accomplished

can i use glue 3d for my yt channel

Powered by DjangoBB