How slov are this!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
I think that you should try to look into raycasting, as an alternative to raytracing. I've made some raycasting projects, but they don't run very fast (probably because I don't write my own caster, as I have no idea how to actually implement one even though I understand the math; I just port C/Basic programs to Scratch =P). I'm sure you could make a really fast one.
Even with raycasting I would need a rasterizer to do complex scenes and Scratch isn't fast at the kind of iteration needed to draw good rasterized textures.
There are some topics in the forums for how to create your own blocks, but those blocks won't work on the website. The red blocks that you will see in some programs are blocks that aren't supported anymore. Abs isn't done using the same block in Scratch 1.2 vs 1.1.
How can I include those red-functions like abs() oder a comment? Is it possible to create own functions in scratch? Is there a scratch-reader available, to have the programs as text and not only in these drag'n'drop green, orange, blue and other boxes? Is it possible to write personal messages in this board? Or is there only the possibility to write comments? Thanks for answering
I really admire your raytracer tutorial series. There is just so much to be learned by studying it!
This is such a unique Scratch multi-project that IMO it should be featured in a special section of its own on this website together with your textual explanations and annotations from the corresponding forum thread
Download this project!
Download the 4 sprites and 9 scripts of "Part 12 CSG" and open it in Scratch
Project Notes
This is a demonstration ray tracer that uses subtractive Constructive Solid Geometry.
Comments
You need to be logged in to post comments
Add a Comment
I just saw you on recent visitors, and it's been about a year since the speed experiment. Quite a while indeed.
NO clue how this works, but apparently it's easy for you to understand lol. Nice job!
Great
How slov are this!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
wow..........*speechlessness*
I have to study your stuff and learn
Is this randomizid?
Nope.
(view all replies)Meant to say randomized
YOU MUST BE A GENIOUS
go faster!
wow. do you draw a picture than make it draw it or what?
Nope. It's all done with math. I just have numbers that say where the spheres are and then I use equations to calculate the surface and lighting.
Come see my videos: HArry and Friends!
Its amazing how the images are made with pure mathmatics.
Hi
I think that you should try to look into raycasting, as an alternative to raytracing. I've made some raycasting projects, but they don't run very fast (probably because I don't write my own caster, as I have no idea how to actually implement one even though I understand the math; I just port C/Basic programs to Scratch =P). I'm sure you could make a really fast one.
Even with raycasting I would need a rasterizer to do complex scenes and Scratch isn't fast at the kind of iteration needed to draw good rasterized textures.
(view all replies)AWESOME!
hello
are you a crazy professor?
Nope.
(view all replies)no offense though, this could be inmproved if it were faster, but good game still! very COMPLEX!
It's going as fast as Scratch can run. There is no way to make it go any faster.
(view all replies)Cool!
pretty nice=D
needd tooo bee fasterr nextt timee
cant wait
soooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooooo long
Yes this is long
if you like racing try dirt biking madness and if you like battles try the assault or commando unit
kool have you ever tried my games because most of them are good
Maybe
are you ever going to make another project?
try my bestest game! scratch.mit.edu/projects/dingdong/91969
weird
It was posted in the forums.
then how did you get scratch 1.2.1 before everybody else?
way too slow. You should make it faster
No, I am not on the Scratch team.
do you work for scratch?
your really good at scratch
you shouldmake a game
you must work for scratch because you had scratch 1.2.1 before anybody else did
There are some topics in the forums for how to create your own blocks, but those blocks won't work on the website. The red blocks that you will see in some programs are blocks that aren't supported anymore. Abs isn't done using the same block in Scratch 1.2 vs 1.1.
How can I include those red-functions like abs() oder a comment? Is it possible to create own functions in scratch? Is there a scratch-reader available, to have the programs as text and not only in these drag'n'drop green, orange, blue and other boxes? Is it possible to write personal messages in this board? Or is there only the possibility to write comments? Thanks for answering
hmmmmmmmmmmmm.... look at my games
hmmmmmmmmmmmm.... look at my games
cool! Please check out my new game (link to project)
Thank you for the compliment, Jens. I hope these projects encourage kids to want to learn more about the math used in different kinds of programs.
I really admire your raytracer tutorial series. There is just so much to be learned by studying it! This is such a unique Scratch multi-project that IMO it should be featured in a special section of its own on this website together with your textual explanations and annotations from the corresponding forum thread