From: Jon Harrop <jon@ffconsultancy.com>
To: caml-list@inria.fr
Subject: Mini ray tracer
Date: Thu, 28 Apr 2005 10:37:45 +0100 [thread overview]
Message-ID: <200504281037.46186.jon@ffconsultancy.com> (raw)
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
next reply other threads:[~2005-04-28 9:37 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-04-28 9:37 Jon Harrop [this message]
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
2005-06-13 2:46 Jon Harrop
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200504281037.46186.jon@ffconsultancy.com \
--to=jon@ffconsultancy.com \
--cc=caml-list@inria.fr \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).