Version française
Home     About     Download     Resources     Contact us    

This site is updated infrequently. For up-to-date information, please visit the new OCaml website at

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: 2004-04-09 (10:57)
From: Jon Harrop <jdh30@c...>
Subject: Re: [Caml-list] OpenGL
On Friday 09 April 2004 2:45 am, Brian Hurt wrote:
> A question with respect to this subject: is it necessary to make a 1:1
> mapping of GL into Ocaml?  I'm wondering if a different approach might not
> work better.  I'm thinking specifically of Java3D, which while it is built
> on top of GL, doesn't reflect GL in it's design.  The advantage of this
> approach is that you can replace GL with other rendering libraries
> (DirectX, for example).

OpenGL is not for 3D alone, a lot of it is also 2D and some 4D. If someone 
were to create a higher level, 3D only interface from ocaml to OpenGL then I 
could not use it in my (2D) work, for example.

Also, OpenGL has a very carefully thought out design which works very well.

Moreover, as OpenGL is available on a superset of the platforms for which 
Direct3D is available, what would be the advantage in using Direct3D as a 
back end rather than OpenGL?


To unsubscribe, mail Archives:
Bug reports: FAQ:
Beginner's list: