Projects / GLCaml


GLCaml is an Objective Caml interface for OpenGL versions 1.1, 1.2, 1.3, 1.4, 1.5, 2.0, and 2.1, plus extensions. It is intended as a compact drop-in binding. It is a direct, dynamic binding to OpenGL. An OCaml SDL binding is provided as well, along with texture-map scaling functions, texture mip-map generators, and a bitmapped font library. Extensive documentation and more than 20 examples are provided.

Operating Systems

Recent releases

  •  17 Feb 2008 21:03

    Release Notes: This release contains significant API changes. Bigarrays are no longer necessary to use OpenGL functions. Standard Ocaml types (ints, floats, bools, strings, and corresponding arrays) are sufficient. Glenums have been replaced by integer constants, and as a result, GL_ALL_CAPS notation becomes gl_small_letters. Silent error handling has been removed. Extra examples have been added, including an OpenGL shader demo. A new module, Win, has been added to allow the use of OpenGL from standard Ocaml Graphics module windows.

    •  16 Jun 2007 19:25

      Release Notes: GLCaml now supports almost all current OpenGL extensions. Solaris and generic Unix support has been added. Minor bugfixes to SDLCaml have been added. The license for GLCaml has been changed to the BSD license. SDLCaml remains under the LGPL.

      •  27 Feb 2007 18:49

        Release Notes: This release incorporates bugfixes to overlapping event record type member names. The code and documentation have been cleaned up.

        •  27 Jan 2007 23:15

          No changes have been submitted for this release.


          Project Spotlight


          A Fluent OpenStack client API for Java.


          Project Spotlight

          TurnKey TWiki Appliance

          A TWiki appliance that is easy to use and lightweight.