caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
* Mini ray tracer
@ 2005-04-28  9:37 Jon Harrop
  2005-05-02 19:48 ` Julian Brown
  0 siblings, 1 reply; 6+ messages in thread
From: Jon Harrop @ 2005-04-28  9:37 UTC (permalink / raw)
  To: caml-list


I just knocked up a little ray tracer in OCaml to test its viability for the 
shootout:

  http://www.ffconsultancy.com/free/ray_tracer/

Here, it traces a 768^2 image of 66,430 spheres in 22.51s on a 1.2GHz 
Athlon-Thunderbird and in 7.24s on a 1.8GHz Athlon 64.

I've boiled it down to 94 LOC and posted it to the shootout mailing list.

-- 
Dr Jon D Harrop, Flying Frog Consultancy Ltd.
Objective CAML for Scientists
http://www.ffconsultancy.com/products/ocaml_for_scientists


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2005-05-04 11:22 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-04-28  9:37 Mini ray tracer Jon Harrop
2005-05-02 19:48 ` Julian Brown
2005-05-03 22:47   ` [Caml-list] " Jon Harrop
2005-05-04  6:24   ` Florian Hars
2005-05-04  7:27     ` Jon Harrop
2005-05-04 11:22       ` Jon Harrop

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).