From: Simon Krahnke Date: 2008-05-02T00:05:04+09:00 Subject: Re: How about the execution efficiency in Ruby 1.9? * James Gray (16:00) schrieb: > On May 1, 2008, at 4:05 AM, Simon Krahnke wrote: > >> I've foolishly done a small raytracer in pure ruby� > > I've always wanted to try that. > > MJD has a neat little raytracer in Perl. I think it's 400 lines, or so. Well, rayt (that's its short name) is quite basic and limited, there are only two different object types: planes (with no borders) and spheres. I only ever tried grayscale images and it's just plain raytracing with reflection and transparency. I consider it quite finished, because pure raytracing with its shadow rays it's just too bad at distributing light, and can always learn to use povray. I might try to implement refraction some day though. > Is your code publicly available? No, but I could zip it up and mail it to you if you want. mfg, simon .... my address works