Version française
Home     About     Download     Resources     Contact us    
Browse thread
[Caml-list] OpenGL
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: -- (:)
From: Jon Harrop <jdh30@c...>
Subject: Re: [Caml-list] OpenGL
On Wednesday 07 April 2004 5:07 pm, Issac Trotts wrote:
> Did you look at LablGL?

Yes, it's lablGL that I'm working with. It's excellent for the basic stuff 
(plotting triangles), but things quickly get quite hairy. Specifically, my 
program needs the GLU tesselator (the reimplementation of which in ocaml is 
prohibitively complicated). The problems with the interface provided by 
lablGL (which can never be made to work in its current state, BTW) are 
actually much more deep seated, and apply to lots of other parts of the 
library.

There is another OpenGL interface library, IIRC, which is very low-level. 
However, I don't like this approach as it is then easy for ocaml programs to 
crash the OS, and stability and safety are surely two of the most important 
advantages of ocaml.

I have gone some way to reimplementing the lablGL interface to the GLU 
tesselator but it is very difficult. Not to mention the other parts of the 
libraries which will need equivalent things done to them...

Cheers,
Jon.

-------------------
To unsubscribe, mail caml-list-request@inria.fr Archives: http://caml.inria.fr
Bug reports: http://caml.inria.fr/bin/caml-bugs FAQ: http://caml.inria.fr/FAQ/
Beginner's list: http://groups.yahoo.com/group/ocaml_beginners