Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

Ray Tracing

Name: Anonymous 2011-11-08 23:59

Goddamn all of these homework threads. Let's talk about something interesting.

I'm starting work on a ray-tracer for shits, /proggles/ Any tips on speed improvements? It's being written in C.
I know the show stopper (usually) is having to check each element in the scene and see if it has been intersected by a casted ray. Any ideas on improvements in that area?

Name: Anonymous 2011-11-09 22:41

>>39
You stop after 212 unless you go on to take 405.  Or you go back in time and take the C version of 215.  Though back then you were also expected to make nice shit with your ray tracer.  Like those pictures at the front of the beginning.  Or the one with the wanted poster of Westall in the faculty lounge.

Anyway I prefer to remain ANONYMOUS AS FUCK and as such not revealing who I am.  Though if you did know who I am then you could probably guess it.

Name: Anonymous 2011-11-09 22:44

>>41
front of the beginning should be front of the building.

AND NOW I GET TO BE KICKED OFF OF 4CHAN AND BY EXTENSION THE INTERNET FOREVER!

Name: Anonymous 2011-11-09 22:44

>>41
You would likely never guess who I am, and it sounds like you've been in Clemson longer than I have. I'm beginning 300 level classes next semester. And anonymity is just fine.

Name: Anonymous 2011-11-09 22:45

>>42
Also, I understood. I'm looking to outdo those, though.

Name: Anonymous 2011-11-09 22:51

>>43
You're one of those fuckers in 212.  There's one section of that.  All I have to do is go into the class tomorrow, discreetly look at everyone's browsing history, and find the sap who has /prog/.  And incognito mode or equivalents won't work.  I'm a fucking ninja.  Don't [spoiler]turn[/around] around

Name: Anonymous 2011-11-09 22:51

>>45
And there go my other Internet cards.  Good night /prog/.

Name: Anonymous 2011-11-09 23:01

>>45, >>46
231/215 actually. But have fun scaring all of those poor, soon-to-be liberal arts majors.

Name: Anonymous 2011-11-09 23:11

Name: FrozenVoid !!mJCwdV5J0Xy2A21 2011-11-09 23:42

>>48
"Ray tracer" that use printf as display device and output lines?
also the sphere coords are hardcoded into tracer:
 "1111886:6:??AAFFHHMMOO55557799@@>>>BBBGGIIKK"[b]-64;
 "C@=::C@@==@=:C@=:C@=:C531/513/5131/31/531/53"[b]-64;

Name: Anonymous 2011-11-09 23:51

>>49
It prints a PPM file to stdout.

Name: FrozenVoid !!mJCwdV5J0Xy2A21 2011-11-10 0:11

>>50
Then i could "raytrace" PPM files to /prog/ one post at the time.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List