http://en.wikipedia.org/wiki/Ray_tracing_(graphics)
http://en.wikipedia.org/wiki/Ray_casting
Reply on news.ycombinator.com