caml-list - the Caml user's mailing list
 help / color / mirror / Atom feed
From: Florent Monnier <monnier.florent@gmail.com>
To: caml-list@inria.fr
Cc: Nicolas FRANCOIS <nicolas.francois@free.fr>,
	ocaml_beginners@yahoogroups.com
Subject: Re: [Caml-list] Two questions about lex/yacc and lablgtk/gl
Date: Mon, 6 Aug 2012 01:22:58 +0200	[thread overview]
Message-ID: <201208060122.58371.monnier.florent@gmail.com> (raw)
In-Reply-To: <20120805140641.78eab414@gaston.baronie.vez>

Le dimanche 05 août 2012 14:06:41, Nicolas FRANCOIS a écrit :
> Hi.
Hi,

[...]
> 2) I'd like to use lablgtk for the graphic interface, and lablgl for
> the 3D visualization. It's mentionned in lablgtk documentation that
> this can be done, but once again, i didn't find much help. Any clue ?

We can use LablGTK for OpenGL windowing with any OCaml-OpenGL bindings.
There are currently 3 OCaml-OpenGL bindings:

- LablGL (the older one) http://forge.ocamlcore.org/projects/lablgl/
- GLCaml (generated code) http://glcaml.sourceforge.net/
- glMLite () http://www.linux-nantes.org/%7Efmonnier/ocaml/GL/

As long as I know, if you want to write forward compatible OpenGL code in 
OCaml, you can only do so with glMLite.

If you need some help for LablGTK-OpenGL (any binding) or OpenGL in OCaml (any 
binding) just ask.

-- 
Regards
Florent

      parent reply	other threads:[~2012-08-05 23:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-08-05 12:06 Nicolas FRANCOIS
2012-08-05 13:16 ` AW: " Gerd Stolpmann
2012-08-05 13:36 ` oliver
2012-08-06 12:14   ` "ocaml_beginners"::[] " Nicolas FRANCOIS
2012-08-05 23:22 ` Florent Monnier [this message]

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=201208060122.58371.monnier.florent@gmail.com \
    --to=monnier.florent@gmail.com \
    --cc=caml-list@inria.fr \
    --cc=nicolas.francois@free.fr \
    --cc=ocaml_beginners@yahoogroups.com \
    /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;
as well as URLs for NNTP newsgroup(s).