Another Full Raytracer for Scratch 1.2

Your browser needs java to view projects. Click here to install Java.

user_icon Canthiar shared it 1 year, 11 months ago
user_icon Based on Canthiar's project
945 views, 2 taggers, 29 people love it, 1 remix by 1 person, 182 downloads, in 12 galleries
Add to my favorites?
Flag as inappropriate?

Comments

You need to be logged in to post comments

Add a Comment

 
Jimothy Jimothy 2 months, 2 weeks ago

i cant really tell what it is at 25

LS97 LS97 2 months, 2 weeks ago

lol i just left my pc running on pen size one and it worked.

LS97 LS97 2 months, 2 weeks ago

lol

(view all replies)
DarthPickley DarthPickley 2 months, 2 weeks ago

phong lighting?

Canthiar Canthiar 2 months, 2 weeks ago

It's a type of specular highlighting.

Araidian Araidian 2 months, 2 weeks ago

I set pen size to 1 and let my computer rest for 5 hours.. lol

Bentheneighbor Bentheneighbor 2 months, 2 weeks ago

AWSOMMMM! However I think you are wasting your time trying to do any 3d stuff in scratch. You can do it if you try really hard, but this takes a few hours, and making this same pictur using an application like Lightwave or Blender would take a few seconds.

Jimothy Jimothy 2 months, 2 weeks ago

thats true

sanda427 sanda427 2 months, 2 weeks ago

I'm gonna stay up ALL NIGHT to watch it finish on ONE! MWA HA HA HA! >:D

dcfkong dcfkong 2 months, 2 weeks ago

this is also another full raytracer (link to project)">(link to project)

timothymh timothymh 2 months, 2 weeks ago

Perfect fidelity with pen size of 24! lol! ; )

timothymh timothymh 2 months, 2 weeks ago

Oh, I see. minutes. nevermind.

timothymh timothymh 2 months, 2 weeks ago

What does the "elapsed" variable use as a unit? Hours?

JES9044 JES9044 2 months, 2 weeks ago

wow 3 hours?!?!?!? lol

scratchman10000 scratchman10000 2 months, 2 weeks ago

i dont get it. what's it supposed to do?

Kileymeister Kileymeister 2 months, 2 weeks ago

draw a picture

billyedward billyedward 4 months ago

My java isn't working, and offline, the main script of the tracer is producing an error. Any suggestions?

(view all replies)
ActionCat210 ActionCat210 2 months ago

Uhhh...what program are you running at what does your computer recomend to run?

ActionCat210 ActionCat210 2 months, 2 weeks ago

All you should do is, go into the control pannel, un-install your current Java, then go to google, type in Java 6 update 15 download, download it, you have a working java!:D

(view all replies)
The-Whiz The-Whiz 2 months, 2 weeks ago

Go through and delete them, it shouldn't take to long. They are only in the main tracer script.

The-Whiz The-Whiz 2 months, 2 weeks ago

The old comment blocks are holding it up.

infinex infinex 4 months, 1 week ago

AHHH I'm view 666! lol I'm atheist so idc.

angelkid234 angelkid234 4 months, 2 weeks ago

it takes 4ev!

DYabola DYabola 6 months ago

i don't get it... why do you need so many variables??? awesome though!

NXTGeek NXTGeek 7 months, 4 weeks ago

would it be poassible to remake this in scratch 1.3 and utalize the new features?

Canthiar Canthiar 7 months, 3 weeks ago

I don't know what new features this would take advantage of. When square root and trig functions were added in 1.2 I was able to clean up a lot of code.

(view all replies)
boinoinoi boinoinoi 10 months, 2 weeks ago

I finally got it up on a site - thing! http://img515.imageshack.us/img515/7974/picture1il0.png only a week and a half after I did it too!

boinoinoi boinoinoi 11 months ago

Okay, so after I had it all finished, since it was on a mac and I don't usually use macs I was trying to find the printscreen shortcut when it started all over. The second time it took a little more than 24 hours. Unfortunately, the image is on the other computer. I'l have it later.

boinoinoi boinoinoi 11 months ago

I have it going in pen size one inside scratch at turbo speed and it's been gong for a little less than 12 hours straight and it's not quite half way done...

DarthPickley DarthPickley 11 months, 1 week ago

3/7

DarthPickley DarthPickley 11 months, 1 week ago

no, more like... 2/5ths

DarthPickley DarthPickley 11 months, 1 week ago

~1/3 done

DarthPickley DarthPickley 11 months, 1 week ago

Oh, I'm giving up on the online one. I'll just put it on 10 size and wait for a preview.

DarthPickley DarthPickley 11 months, 1 week ago

~1/4 of the way done (not online)

DarthPickley DarthPickley 11 months, 1 week ago

This is really, just, amazing. What might it take, to try to run this several times, at, maybe, 5 pen size, with different FOVs, and then save all of the pictures, and create an interactive thing?

DarthPickley DarthPickley 11 months, 1 week ago

already, it is ~1/5th of the way done! It is mostly just the floor right now, though...

DarthPickley DarthPickley 11 months, 1 week ago

For faster speed: download and run in Turbo Speed, by shift-clicking "extras", "set single stepping", "turbo speed". Mine (offline) is already about 3 times further than the online one, both with pensize 3, and started at approximately the same time.

steve-o666rod steve-o666rod 11 months, 2 weeks ago

Project=God

ilikesonicandCP ilikesonicandCP 11 months, 3 weeks ago

ITS BEAUTAFUL!!!!

bart9032 bart9032 1 year ago

Hey Canthiar would you like to be a reporter for bartshow magizine?

keller keller 1 year, 2 months ago

... wow... wow... wow... wow... this... is... amazing... did u tel it wat pic to draw at different sizes/FOV?

anthony3329 anthony3329 1 year, 4 months ago

can u explain it? im not a math smarticle, so i dont get it...

NXTGeek NXTGeek 1 year, 5 months ago

can you use multiple pens to speed up the process?

Canthiar Canthiar 1 year, 5 months ago

I've done experiments where I've removed the broadcasts so that I can do multiple pens and it goes a little bit faster.

(view all replies)
NXTGeek NXTGeek 1 year, 5 months ago

absolutly amazing....I really need to learn my math!

mrbenjamin675 mrbenjamin675 1 year, 5 months ago

awesome!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!why!am!i!doing!this!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

redsooty9 redsooty9 1 year, 5 months ago

awesome!

mrbenjamin675 mrbenjamin675 1 year, 5 months ago

i agree with redsooty9

inuwali inuwali 1 year, 6 months ago

Very nice job. Your Scratch-fu is intimidating. I think we can all agree that Scratch is Turing-complete! It's fascinating to see how you can adapt a recursive algorithm to a non-procedural programming environment.

Canthiar Canthiar 1 year, 6 months ago

I had to cheat on what is normally done through recursion by doing a single level reflection after the initial pass. Color is also not done through RGB components in Scratch so reflection is based on intensity.

(view all replies)
Cyclone103 Cyclone103 1 year, 6 months ago

this program that you have written is outstanding! i have never seen the likes of this before!

terminator68 terminator68 1 year, 6 months ago

AMAZING!

04lukeb 04lukeb 1 year, 7 months ago

Amazing, and way under-aprecciated

43kesseys 43kesseys 1 year, 9 months ago

whoa, that artwork looks so cool!

43kesseys 43kesseys 1 year, 9 months ago

WHAT IS IT??????????????????????

planetX planetX 1 year, 9 months ago

cool

Canthiar Canthiar 1 year, 9 months ago

You can't do a comment box. I put those in when the beta was out and they removed the ability to do comments since then.

infinex infinex 1 year, 9 months ago

umm... i downloaded it and.... 1.i couldn't understand anything...do c++ 2.how to you do a comment box

scratchisthebest scratchisthebest 5 months, 2 weeks ago

Right-click or ctrl-click and hit something along the lines of "add comment".

olivercrazy olivercrazy 1 year, 11 months ago

and view page 10

olivercrazy olivercrazy 1 year, 11 months ago

and go to pages 5 6 7 8 9 and view all the projects i made on them

olivercrazy olivercrazy 1 year, 11 months ago

oh also gotta go to ort by: title creation date ^ Prev 1 2 3 4 5 6 7 8 9 Next scratch planet scratch planet Comments: 0 Scratch Pix Scratch Pix Comments: 1 were moving! were moving! Comments: 2 Scratchs Pet Scratchs Pet Comments: 0 homestar kids ... homestar kids ... Comments: 1 the reck off the reck off Comments: 1 funny project funny project Comments: 1 homestar scra ... homestar scra ... Comments: 0 the dot group the dot group Comments: 2 the adventure ... the adventure ... Comments: 1 pumpkinheaddys pumpkinheaddys Comments: 1 naruto no mus ... naruto no mus ... Comments: 1 Prev 1 2 3 4 5 6 7 8

BATzerk BATzerk 1 year, 11 months ago

Oh, wow. I'm sorry, I was looking at your previous raytracer code. This one WAS made using Scratch 1.2... lol. *examines code* ...Oh, wow! These notes are helpful! I'm now going to attempt to understand some of the code. This is probably the ultimate Scratch project I'd like to figure out. Serious thumbs up for this, Canthiar!

BATzerk BATzerk 1 year, 11 months ago

(*MORE incredible... because even THIS is already way past incredible!)

BATzerk BATzerk 1 year, 11 months ago

OMGH, Canthiar, this is just INSANE. You are brilliant. (Now that the new version of Scratch is out, have you considered cleaning up your code with the new numbers functions? Namely the square root one? I was actually thinking of doing that with your code, just so I can figure it out quicker.) Hey... you ever think you'll get a working version with anti-aliasing? ...THAT would be incredible!

cooldude16 cooldude16 1 year, 11 months ago

if u put it on pen size 25, it won't make a picture

Canthiar Canthiar 1 year, 11 months ago

POVRay used to be pretty slow running with computers in the early 90's. I think it ran a little faster for scenes as simple as this. Complicated scenes ran really slowly. I think in the early versions they didn't have any of the spatial partitioning that is in there now.

Jens Jens* 1 year, 11 months ago

Fantastic, this gets ever more complex and brilliant. I didn't believe a raytracer to be feasible in Scratch at all, but then, look at this. Plus, the speed really isn't that bad at all, I still remember running POVRay in OS/2 and having to wait a full day or even more for a scene like this to complete....

08jackt 08jackt 1 year, 11 months ago

the pen size is at 25

08jackt 08jackt 1 year, 11 months ago

will this ever end....oh it has...whats it say

emmajh97 emmajh97 1 year, 11 months ago

WHiiit-whooo! (wow whistle)

NobodyKnowsNorune NobodyKnowsNorune 1 year, 11 months ago

cool

relyt12101 relyt12101 1 year, 11 months ago

Just as amazing... the artwork looks professionally done!

Longhair Longhair 1 year, 11 months ago

I know the first block! Pen down....

Please Wait...