News for hackers. Stuff that matters.
Re:Deciphering the Business Card Raytracer by fabien_sanglard on Sunday September 22, 2013 @02:23AM (#6425997)
Thanks Andrew, that 'c' variable was giving me a headache ;) ! I have updated the article with your remarks.

BTW, I have listed a few good resources about raytracing at the bottom of the page: Do you know any other good books/websites ?

Re:Deciphering the Business Card Raytracer by a_e_k on Sunday September 22, 2013 @04:30AM (#6426233)
You're welcome!

Scratchapixel was new to me, so thanks for that link. PBRT (which you already have) is definitely a favorite. You also cited Graphics Gems IV but I enjoy dipping into all of them. Other suggestions:

* http://tog.acm.org/resources/RTNews/html/ (Somewhat dead, but the archives are great)

* http://ompf2.com/ (Active, lots of ray tracing specific discussion)

* http://www.realtimerendering.com/ (I'm fond of the book as well)

* http://kesen.realtimerendering.com/ (Especially the sections for "Symposium on Interactive Ray Tracing" and it's successor, "High Performance Graphics")

If I had to pick one, though, it'd be PBRT since it's a unified work that starts from the ground up.

Re:Deciphering the Business Card Raytracer by antirez on Sunday September 22, 2013 @03:28AM (#6426109)
Some time ago I wrote a raytracing program in javascript that is supposed to be very simple to understand: https://github.com/antirez/jsrt/blob/master/rt.html

Demo here: http://antirez.com/misc/rt.html

Re:Deciphering the Business Card Raytracer by Uchikoma on Monday September 23, 2013 @07:36AM (#6430143)
Nice!

We did a real time raytracer with 2 spheres where you could move around one with C and a cluster of DEC Alphas 20 years ago, funny to see this on my laptop in Javascript (!) now.