Version française
Home     About     Download     Resources     Contact us    
Browse thread
Learn OCaml or the bunny gets it
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Jon Harrop <jon@f...>
Subject: Learn OCaml or the bunny gets it

Having read a thread about a real-time ray tracer by Jacco Bikker rendering 
the Stanford bunny at 7fps, I decided to try rendering the bunny from OCaml. 

Chucking it into an OpenGL display list gets me about 450fps on my machine 
(2.2GHz AMD64, GeForce 7900GT) with 16x FSAA for only 85 lines of code:

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

I'm working on shadows...

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