Examples
The first nine
Nehe OpenGL lessons have been added to the tarball. Click on the images for the OCaml source code of the examples.
These examples require
SDL to compile and run, and make use of the SDLCaml bindings included as an optional extra with GLCaml.
NeHe example 7: a texture-mapped, lighted box with mip-mapping and filtering
NeHe example 9: texture-mapped, lighted particles
Some examples have been included which only require the Ocaml Graphics module to display OpenGL graphics.
OpenGL shader demo using Ocaml Graphics module for output