(Untitled)

Nov 28, 2007 21:18

Hey folks. Just thought I'd stick my head out long enough to show off a couple of things. I've been totally swamped with work this quarter, and haven't had much time for socializing, or tv, or... really much of anything besides work. But I've definitely learned more this quarter than in past ones. A lot of my time has been spent doing stuff for ( Read more... )

Leave a comment

Comments 8

jmpava November 29 2007, 07:03:27 UTC
OMG you exist.

Now return my fricking calls/e-mails ;-P

Reply

profgreg November 29 2007, 16:05:48 UTC
Hey, I sent you an e-mail before posting this, thank you very much! :-)

Reply


maerdi November 29 2007, 23:49:28 UTC
Wow! You chose some very complicated situations to trace out. Very awesome.

If I may be a bit of a jerk, are you having some trouble getting your walls at true flat / perpendicular? I noticed in Trace2 that your right-hand side 1st order reflection is leaning, which led me to unusual shadowing / construction? in the corner of Trace3 and a lean in Trace1, as well (again, most noticeable on the right-hand side). Was this purposeful? Caused by something else? Am I just being a nit-picky pain? Perhaps I should mention that you can screen this comment so no one sees it, and then reiterate how awesome your ray-tracer is.

Very cool.

Reply

profgreg November 30 2007, 00:23:19 UTC
I noticed the leaning walls too, but am not sure what's causing them. The walls aren't leaning in my model, so my guess is that it's an artifact of perspective. I wrote my own "camera" (instead of using the starter code provided for the assignment), so I may have done something weird in my calculations that's exaggerating the bottom vanishing point. I will admit that once I got my camera basically functional, I didn't play with it any further, and so was limited in where I could point it. If I ever revisit the code, I'll look into it ( ... )

Reply

maerdi November 30 2007, 21:21:35 UTC
Yes! There was something small that I couldn't quite put my finger on, and I think it was precisely the flatness of the unlit sides.

Way to be a better nit-picker than I am! (And thanks for being so gracious about my comment; it was meant good-naturedly, and I'm glad that came across.)

If I may ask, about how many lines of code comprises your ray tracer? How long did it take to create each of these images?

Reply

profgreg December 19 2007, 03:35:59 UTC
Oh, hi there. I've been completely buried for the last 2 weeks+, and forgot that I had a dangling open thread here. Sorry :-)

Way to be a better nit-picker than I am! (And thanks for being so gracious about my comment; it was meant good-naturedly, and I'm glad that came across.)

Honestly, it would ever even occur to me that any comment from you was ever meant as anything other than good-natured :-)

If I may ask, about how many lines of code comprises your ray tracer? How long did it take to create each of these images?

It's about 1200 lines of code in all. Some of it (mostly basic utility code and data and storage classes) was provided with the assignment. These images take several minutes on my crappy old development machine, but only took about 20-30 seconds on the Macs in the campus lab.

Reply


porfinn November 30 2007, 01:58:40 UTC
Wow! You almost managed to post with in thirty days of your last one.

Reply


Leave a comment

Up