From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on yquem.inria.fr X-Spam-Level: X-Spam-Status: No, score=0.0 required=5.0 tests=AWL autolearn=disabled version=3.1.3 Received: from mail3-relais-sop.national.inria.fr (mail3-relais-sop.national.inria.fr [192.134.164.104]) by yquem.inria.fr (Postfix) with ESMTP id 851AFBC69 for ; Fri, 28 Dec 2007 02:31:12 +0100 (CET) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Aq4HAO/gc0fUnw6EdWdsb2JhbACCNY1YAQoEBg8TB5we X-IronPort-AV: E=Sophos;i="4.24,213,1196636400"; d="scan'208";a="7283860" Received: from pih-relay05.plus.net ([212.159.14.132]) by mail3-smtp-sop.national.inria.fr with ESMTP; 28 Dec 2007 02:31:12 +0100 Received: from [80.229.56.224] (helo=beast.local) by pih-relay05.plus.net with esmtp (Exim) id 1J8446-0004Us-5n for caml-list@yquem.inria.fr; Fri, 28 Dec 2007 01:31:10 +0000 From: Jon Harrop Organization: Flying Frog Consultancy Ltd. To: caml-list@yquem.inria.fr Subject: Re: [Caml-list] [ANN] glMLite Date: Fri, 28 Dec 2007 01:21:41 +0000 User-Agent: KMail/1.9.7 References: <200712232257.33658.fmonnier@linux-nantes.fr.eu.org> <20071224085444.GC19543@takhisis.invalid> <0F10F9FC-2F5E-44CD-8E60-E79D4B730E80@gmx.de> In-Reply-To: <0F10F9FC-2F5E-44CD-8E60-E79D4B730E80@gmx.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200712280121.42737.jon@ffconsultancy.com> X-Spam: no; 0.00; zacchiroli:01 0100,:01 ocaml:01 bindings:01 lablgl:01 wwwfun:01 olabl:01 lablgl:01 bindings:01 ocaml:01 higher-level:01 bug:01 higher-level:01 23,:98 ubuntu:98 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