From mboxrd@z Thu Jan 1 00:00:00 1970 X-Sympa-To: caml-list@inria.fr Received: from mail1-relais-roc.national.inria.fr (mail1-relais-roc.national.inria.fr [192.134.164.82]) by walapai.inria.fr (8.13.6/8.13.6) with ESMTP id p3RDH5Zg018111 for ; Wed, 27 Apr 2011 15:17:10 +0200 X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AuUAAAEWuE3RVdW+kWdsb2JhbAAvl08/jSYIFAEBAQEJCwsHFAQhpzmKeIdCNIhjhXYEhgODBY9rO4Nv X-IronPort-AV: E=Sophos;i="4.64,274,1301868000"; d="scan'208";a="106910903" Received: from mail-yx0-f190.google.com ([209.85.213.190]) by mail1-smtp-roc.national.inria.fr with ESMTP/TLS/RC4-SHA; 27 Apr 2011 15:17:09 +0200 Received: by yxi11 with SMTP id 11so1939282yxi.27 for ; Wed, 27 Apr 2011 06:17:08 -0700 (PDT) Received: by 10.101.137.34 with SMTP id p34mr214575ann.34.1303910228564; Wed, 27 Apr 2011 06:17:08 -0700 (PDT) Path: glegroupsg2000goo.googlegroups.com!not-for-mail Newsgroups: fa.caml Date: Wed, 27 Apr 2011 06:17:08 -0700 (PDT) In-Reply-To: Reply-To: fa.caml@googlegroups.com Complaints-To: groups-abuse@google.com Injection-Info: glegroupsg2000goo.googlegroups.com; posting-host=132.177.8.40; posting-account=C2cSdAoAAADMDMMNIKs975m9-hquLe4I NNTP-Posting-Host: 132.177.8.40 User-Agent: G2/1.0 MIME-Version: 1.0 Message-ID: From: Ethan Burns To: fa.caml@googlegroups.com Cc: caml-list@inria.fr Content-Type: text/plain; charset=ISO-8859-1 X-Validation-by: burns.ethan@gmail.com Subject: Re: [Caml-list] Pros and cons of different GL bindings ? On Wednesday, April 27, 2011 6:30:25 AM UTC-4, Thomas Braibant wrote: I have only really tried glMLite (and even then I only used it to draw simple rectangles using vertex buffers) but I did also look into the others a tiny bit. Here is what I found: > - LablGL http://www.math.nagoya-u.ac.jp/~garrigue/soft/olabl/lablgl.html This appears to be the 'default' OpenGL for OCaml. It is suppose to work with lablgtk (I don't know if the others do) but it does not seem to have support for shaders and some later OpenGL funtionality. > - glMLite http://www.linux-nantes.org/~fmonnier/ocaml/GL/ Supports the newer OpenGL functionality (GLSL shaders and vertex buffers). My friend had a difficult time getting it to compile/work on OSX but with some minor changes I believe that he eventually got it working. > - glcaml http://glcaml.sourceforge.net/ glcaml seems to be a set of automatically generated stubs. It seems to support some of the latest OpenGL but the interface is automatically generated so it doesn't have a very OCaml-ish feel to it. Best, Ethan