3 ms·
The fully commented (but not entirely clean) code is here: http://www.gabrielgambetta.com/tiny_raytracer_full.js http://www.gabrielgambetta.com/tiny_raytracer_f
by ggambetta 13y ago
The fully commented (but not entirely clean) code is here: http://www.gabrielgambetta.com/tiny_raytracer_full.js http://www.gabrielgambetta.com/tiny_raytracer_full.js
Also, I'm halfway through writing a Computer Graphics textbook, half of it dedicated to raytracing.
- jamiek88 13y agoI'd buy it, please post the link once its done, or if you want any proof readers or people to type in the code to check for typos I'd be happy to help.