caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Jim Snow <jsnow@cs.pdx.edu>
To: caml-list@yquem.inria.fr
Subject: Announce: glome-0.2 (ocaml-based raytracer)
Date: Thu, 11 Jan 2007 17:24:26 -0800	[thread overview]
Message-ID: <45A6E34A.6040007@cs.pdx.edu> (raw)

I've been working on a raytracer for awhile, and recently decided to 
remove a lot of experimental code that doesn't work well anyways and 
release the rest under the gpl version 2.  Currently, glome renders some 
of the scenes from the standard procedural database 
(http://www.acm.org/tog/resources/SPD/).  I thought that, aside from the 
practical utility of generating pretty pictures, some people on this 
list might be interested in using it to benchmark the quality of code 
generated by various versions of the ocaml compiler.

Supported primitives are spheres and triangles.  It uses a kd-tree as an 
acceleration structure.  There is limited joystick support (moving works 
fine, but turning can have unexpected results) for those patient enough 
to tolerate the low framerates.

I use lablgl for screen output, but there aren't any other libraries 
required outside of the standard ocaml distribution.

I'm not a very experienced ocaml programmer, so I'm sure there are some 
things I'm doing inefficiently just because I don't know better.  I 
welcome any suggestions that would make my code faster, or reduce the 
memory footprint of my scene representation.

There is a discussion thread about glome over at ompf.org: 
http://ompf.org/forum/viewtopic.php?t=336

Source code download is here: http://syn.cs.pdx.edu/~jsnow/glome/


             reply	other threads:[~2007-01-12  1:24 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-01-12  1:24 Jim Snow [this message]
2007-01-12 12:16 ` [Caml-list] " Jon Harrop
2007-01-15 10:30   ` Jim Snow
2007-01-15 18:34     ` brogoff
2007-01-17 23:01     ` Nathaniel Gray
2007-01-17 23:09       ` Jon Harrop
     [not found] ` <200701151206.34251.jon@ffconsultancy.com>
     [not found]   ` <45ABFB4D.3000605@cs.pdx.edu>
     [not found]     ` <200701152259.10598.jon@ffconsultancy.com>
2007-01-18 10:29       ` Jim Snow
2007-01-18 14:01         ` 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=45A6E34A.6040007@cs.pdx.edu \
    --to=jsnow@cs.pdx.edu \
    --cc=caml-list@yquem.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).