Rubyã§æ¸ããã¬ã¤ãã¬ã¼ãµã¼
ãã³ããã¼ã¯ç¨éãç®çã¨ãã¦Rubyã§æ¸ããã¬ã¤ãã¬ã¼ãµã¼ãå ¬éãã¾ãã
http://github.com/nineties/raytracer
以ä¸ãPart3ã¾ã§å®è£
ãããã®ã§ãã
http://www.devmaster.net/articles/raytracing_series/part1.php
PPMå½¢å¼ã®ç»åãçæããã®ã§é©å½ã«å¤æãã¦ãã ããã
ã¾ããããè¯ãæ¸ãæ¹ãããã°æãã¦ä¸ããã
ãã£ã300è¡ã«æºããªãã¹ã¯ãªããã§ä»¥ä¸ã®æ§ãªã¬ã³ããªã³ã°ãã§ãã¦ãRubyã®è¨è¿°åã®é«ãã«é©ãããã¾ããã
ç§ã®ç°å¢(Core 2 Duo + Windows 7 + VMPlayer + Debian + Ruby 1.9.1)ã§ã®ã¬ã³ããªã³ã°æéã¯
- 1æç®:4å43ç§
- 2æç®:41å12ç§
ã§ãããã¡ãªã¿ã«ãªãªã¸ãã«ã®C++ã³ã¼ãã¯ã©ã¡ããæ°ç§ã¨ãã話ã§ãã