Discuss Scratch
- Discussion Forums
- » Advanced Topics
- » 3D on scratch, And how it's professionally accomplished
- tottsmc
-
Scratcher
55 posts
3D on scratch, And how it's professionally accomplished
recasting uses too much code I need something shorter…
i might look into starting 3d by raycasting after i finish all my planned projects
- kittygamer8997
-
Scratcher
69 posts
3D on scratch, And how it's professionally accomplished
Oops typo. Yea 7.7 you mean? lolYOU WHAT!? What are your other accounts!? I also did the same thing as you. 3 and a half years I started 3D. I have a different account btw. 3 and a half closer to 4 years. I said “ YOU WHAT!?” because i didn’t know you were on scratch for 4 years.I've been on Scratch for 2 years (this isn't my main) and I still can't understandI've been on scratch for 7 years, and I only started to make sense of 3D after about 3 years and a half lol, but i never got something half decent till about my 6th year. I'm trying to get more advanced but I can't if I can't understand this. I'll try to keep pushing though.
- kittygamer8997
-
Scratcher
69 posts
3D on scratch, And how it's professionally accomplished
recasting uses too much code I need something shorter…Raycasting isn’t that much. Maybe it is depending on what you are doing. If you look at griffpatch’s tutorial its not a lot but a 10 month scratcher. Maybe its a lot.i might look into starting 3d by raycasting after i finish all my planned projects
- GL00B
-
Scratcher
99 posts
3D on scratch, And how it's professionally accomplished
how do I make a 1st person 3D thingRaycasting!
- Eboi1110
-
Scratcher
7 posts
3D on scratch, And how it's professionally accomplished
how do I make a 1st person 3D thing
Hi

- -JackMcCool-
-
Scratcher
3 posts
3D on scratch, And how it's professionally accomplished
Amazing guide, I will definitly look into this!
- badatcode123
-
Scratcher
56 posts
3D on scratch, And how it's professionally accomplished
A sphere tracer is a raymarcher that uses SDFs, what you described as sphere tracing is just a ray tracer that uses ray-surface intersection algorithms. Also the rgb mixing thing isn't how raytracing (specifically pathtracing) is usually done, you just multiply the color of the ray so far with the “color” of the hit surface (in quotes because there's more to it depending on the material)
- GL00B
-
Scratcher
99 posts
3D on scratch, And how it's professionally accomplished
A sphere tracer is a raymarcher that uses SDFs, what you described as sphere tracing is just a ray tracer that uses ray-surface intersection algorithms. Also the rgb mixing thing isn't how raytracing (specifically pathtracing) is usually done, you just multiply the color of the ray so far with the “color” of the hit surface (in quotes because there's more to it depending on the material)are you @urlocalcreator in disguise or something xD
- kittygamer8997
-
Scratcher
69 posts
3D on scratch, And how it's professionally accomplished
True.A sphere tracer is a raymarcher that uses SDFs, what you described as sphere tracing is just a ray tracer that uses ray-surface intersection algorithms. Also the rgb mixing thing isn't how raytracing (specifically pathtracing) is usually done, you just multiply the color of the ray so far with the “color” of the hit surface (in quotes because there's more to it depending on the material)are you @urlocalcreator in disguise or something xD
- Davtech12
-
Scratcher
19 posts
3D on scratch, And how it's professionally accomplished
i dont think
recasting uses too much code I need something shorter…I don't think I could figure out how to make 3d without either Ray casting with pen or maybe just maybe ray tracing if I figure that outi might look into starting 3d by raycasting after i finish all my planned projects
- VonGrid
-
New Scratcher
1 post
3D on scratch, And how it's professionally accomplished
This is awesome! How long have you been coding for?
- kittygamer8997
-
Scratcher
69 posts
3D on scratch, And how it's professionally accomplished
This is awesome! How long have you been coding for?@GL00B has been coding for 7 years
- meowiilk
-
Scratcher
6 posts
3D on scratch, And how it's professionally accomplished
Yeah, actually; (I don't know if someone already asked this, sorry if someone already did) - How do you make your maps/procedural world generation (as in, for example, your video on Minecraft)?tysm this is amazingYou're welcome, any questions regarding this topic?
- badatcode123
-
Scratcher
56 posts
3D on scratch, And how it's professionally accomplished
nah, spongsnipare you @urlocalcreator in disguise or something xD
- Davtech12
-
Scratcher
19 posts
3D on scratch, And how it's professionally accomplished
are we even talking abt 3d stuff anymore?
- miggc
-
Scratcher
34 posts
3D on scratch, And how it's professionally accomplished
Wait I have an opinion-ish question…. Do you prefer raycasting or just 3D? And why if u wanna add more 

Last edited by miggc (May 15, 2025 04:40:25)
- GL00B
-
Scratcher
99 posts
3D on scratch, And how it's professionally accomplished
Wait I have an opinion-ish question…. Do you prefer raycasting or just 3D? And why if u wanna add moreI'll assume you meant 3D projection and triangles by “just 3D”.
Well, my projects usually rely on raycasting. I think it's really perfect for simple console games that I'm porting here to scratch. In raycasting it's more of the process of perceiving the scene, more than projecting it and drawing it. that means raycasting:
1- automatically sorts walls and shapes
2- automatically has clipping
3- is super fast
4- is very flexible and customizable when you understand it
however, it starts to show it's problems when you want things like models with raycasting, since it's 2D your models will look super funny with no slopes in 3D, you might be able to do some tricks but it's gonna be super inconvenient and hard to control
that's why my games use a hybrid of raycasting, mode7, and actual 3D geometry!
- GL00B
-
Scratcher
99 posts
3D on scratch, And how it's professionally accomplished
Ah, i did using sine and cosine. however, unlike usual generators that use it, i made the value inside ( f(x) = sin(x ) ) change using another sin and cosine blocks and some randomizers!Yeah, actually; (I don't know if someone already asked this, sorry if someone already did) - How do you make your maps/procedural world generation (as in, for example, your video on Minecraft)?tysm this is amazingYou're welcome, any questions regarding this topic?
- GL00B
-
Scratcher
99 posts
3D on scratch, And how it's professionally accomplished
are we even talking abt 3d stuff anymore?Yes, instead of complaining you have a button down there to report necroposting. thought of that?
- Discussion Forums
- » Advanced Topics
-
» 3D on scratch, And how it's professionally accomplished
. I'm trying to get more advanced but I can't if I can't understand this. I'll try to keep pushing though.