<?xml version="1.0" encoding="ISO-8859-1"?>

<!DOCTYPE message PUBLIC
  "-//MLarc//DTD MLarc output files//EN"
  "../../mlarc.dtd"[
  <!ATTLIST message
    listname CDATA #REQUIRED
    title CDATA #REQUIRED
  >
]>

  <?xml-stylesheet href="../../mlarc.xsl" type="text/xsl"?>


<message 
  url="2002/12/6bd310d129ea8d41c4a95acaa8b53a0d"
  from="Christophe Raffalli &lt;Christophe.Raffalli@u...&gt;"
  author="Christophe Raffalli"
  date="2002-12-27T11:23:52"
  subject="Re: [Caml-list] Announce: camlgl - OpenGL bindings for OCaml"
  prev="2002/12/cfab7d82fab7e0ed9d6dbd759f94419c"
  next="2002/12/db81a05edc4270565847a66314758ce1"
  prev-in-thread="2002/12/4c196a76de2b694d0dbd2b92a973e49d"
  prev-thread="2002/12/c1ae28de1841637e1625891d4f57a4a2"
  next-thread="2002/12/15844ae4e1090111037f41a6baa2820a"
  root="../../"
  period="month"
  listname="caml-list"
  title="Archives of the Caml mailing list">

<thread subject="[Caml-list] Announce: camlgl - OpenGL bindings for OCaml">
<msg 
  url="2002/12/756c3fc027fc8ba373e7214c3dba2937"
  from="Nickolay Semyonov-Kolchin &lt;snob@s...&gt;"
  author="Nickolay Semyonov-Kolchin"
  date="2002-12-20T13:01:43"
  subject="[Caml-list] Announce: camlgl - OpenGL bindings for OCaml">
<msg 
  url="2002/12/431d9e67f84c154cde1eedeff5a426b0"
  from="Sven Luther &lt;luther@d...&gt;"
  author="Sven Luther"
  date="2002-12-20T15:28:16"
  subject="Re: [Caml-list] Announce: camlgl - OpenGL bindings for OCaml">
<msg 
  url="2002/12/844db0449438b81c450413a2e9e39120"
  from="Nickolay Semyonov-Kolchin &lt;snob@s...&gt;"
  author="Nickolay Semyonov-Kolchin"
  date="2002-12-20T23:31:12"
  subject="Re: [Caml-list] Announce: camlgl - OpenGL bindings for OCaml">
<msg 
  url="2002/12/46151a95949e34dd9481c92ed5a51a6f"
  from="Jacques Garrigue &lt;garrigue@k...&gt;"
  author="Jacques Garrigue"
  date="2002-12-25T02:37:28"
  subject="Re: [Caml-list] Announce: camlgl - OpenGL bindings for OCaml">
<msg 
  url="2002/12/4c196a76de2b694d0dbd2b92a973e49d"
  from="Nickolay Semyonov-Kolchin &lt;snob@s...&gt;"
  author="Nickolay Semyonov-Kolchin"
  date="2002-12-25T10:49:19"
  subject="[Caml-list] Summary: LablGL vs CamlGL">
</msg>
<msg 
  url="2002/12/6bd310d129ea8d41c4a95acaa8b53a0d"
  from="Christophe Raffalli &lt;Christophe.Raffalli@u...&gt;"
  author="Christophe Raffalli"
  date="2002-12-27T11:23:52"
  subject="Re: [Caml-list] Announce: camlgl - OpenGL bindings for OCaml">
</msg>
</msg>
</msg>
</msg>
</msg>
</thread>

<contents>

There is one little problem with lablGL:

The height functions provided for GlDraw.normal and GlDraw.vertex necessarely 
uses boxed float.
You should add (I will do it for myself very soon) direct access to the GL 
function to be able to benefit from the optimization of OCaml for unboxed float.

This is important for this two function and may be a few others (GlDraw.begins 
and GlDraw.ends, ...) which are used very often and where the optional 
arguments and the call to the stub code may cost too much.

But I think it is a good idea to keep a type-safe interface as much as possible 
and put the unsafe fast call in a GlUnsafe module !

I learned GL using LablGl and it is very well suited for that. Much better than 
raw C or C++.


-- 
Christophe Raffalli
Université de Savoie
Batiment Le Chablais, bureau 21
73376 Le Bourget-du-Lac Cedex

tél: (33) 4 79 75 81 03
fax: (33) 4 79 75 87 42
mail: Christophe.Raffalli@univ-savoie.fr
www: http://www.lama.univ-savoie.fr/~RAFFALLI
---------------------------------------------
IMPORTANT: this mail is signed using PGP/MIME
At least Enigmail/Mozilla, mutt or evolution
can check this signature
---------------------------------------------

</contents>

</message>

