Mailing list for all users of the OCaml language and system.
 help / color / mirror / Atom feed
From: Jon Harrop <jon@ffconsultancy.com>
To: caml-list@yquem.inria.fr
Subject: Re: [Caml-list] [ANN] glMLite
Date: Fri, 28 Dec 2007 01:21:41 +0000	[thread overview]
Message-ID: <200712280121.42737.jon@ffconsultancy.com> (raw)
In-Reply-To: <0F10F9FC-2F5E-44CD-8E60-E79D4B730E80@gmx.de>

On Monday 24 December 2007 13:34:51 Jan Rehders wrote:
> On 24.12.2007, at 09:54, Stefano Zacchiroli wrote:
> > On Sun, Dec 23, 2007 at 10:57:33PM +0100, Florent Monnier wrote:
> >> OCaml bindings for OpenGL.
> >
> > Can you please compare glMLite with LablGL [1]?
>
> ... and glcaml [2] :)
>
> > [1] http://wwwfun.kurims.kyoto-u.ac.jp/soft/olabl/lablgl.html
>
> [2] http://glcaml.sourceforge.net/

While we're on the subject, perhaps I can productively compare LablGL and 
GLCaml:

LablGL is by far the most widely used and, therefore, tested of the OpenGL 
bindings available for OCaml. According to the package popularity contests, 
LablGL has 412 registered installs on Debian and Ubuntu. This library is 
ideal for people who are less familiar with OpenGL because it provides a 
higher-level and safer API. However, LablGL only supports OpenGL 1.

GLCaml are the most up-to-date bindings to OpenGL for OCaml, supporting the 
latest OpenGL 2 API. This library uses an OCaml program to generate the 
bindings automatically, which makes it much easier to keep up to date but 
lower-level. This library is ideal for people who require OpenGL 2 but is not 
as thoroughly tested as LablGL (no packages) and, consequently, contains 
bugs.

I'm not quite sure where Florent's bindings fit in because they lack packages 
and users like GLCaml and lack support for OpenGL 2 like LablGL.

I recently wrote several OpenGL 2 shader demos in OCaml using Elliott Oti's 
GLCaml bindings. I filed two bug reports in the process. I'm hoping the 
community can pull together to get these state-of-the-art bindings tested and 
shipped in deb packages. I'd like this to be the future of OpenGL for OCaml 
because the autogenerated bindings make the latest OpenGL features accessible 
to expert users and higher-level bindings can easily be written to help 
newbie users.

We'll refrain from writing OCaml Journal articles about GLCaml until it has 
stabilized but several people have expressed an interest in a 3D scene graph 
library for OCaml which I can create for GLCaml easily from part of Smoke's 
source code.

-- 
Dr Jon D Harrop, Flying Frog Consultancy Ltd.
http://www.ffconsultancy.com/products/?e


  parent reply	other threads:[~2007-12-28  1:31 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-12-23 21:57 Florent Monnier
2007-12-24  8:54 ` [Caml-list] " Stefano Zacchiroli
2007-12-24 13:34   ` Jan Rehders
2007-12-24 16:28     ` Florent Monnier
2007-12-28  1:21     ` Jon Harrop [this message]
2007-12-29 21:20       ` openGL shader demos Florent Monnier
2007-12-30  6:36         ` [Caml-list] " Jon Harrop
2007-12-24 16:17   ` [Caml-list] [ANN] glMLite Florent Monnier

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=200712280121.42737.jon@ffconsultancy.com \
    --to=jon@ffconsultancy.com \
    --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