On 16-03-05 19:42:46, Hendrik Boom wrote: > Aren't there already bindings of OpenGL for OCaml? Yes, but not for recent version of Open LG (i.e. version 3 and 4) or GLES (any version). gles3 are bindings for GLES which is available on every platforms including cell phones and tablets. The bindings also try to be different. Let me recall some context to explain... There are also some discussions about teaching below ... In OpenGL 1 series, you could send the vertices of your object using one function call per vertex. There was a fixed pipeline processing your data using a lot of state variables. There was also a stack of matrices transformations. With the apparition of GLSL (the Open GL Shading Language). All this was not really used anymore, as the user is now free to do the computation - on CPU - on GPU, for each vertex - on GPU, for each fragment This is very flexible indeed. And the way to share data also improved with VBO. In GLES and Open 3 or 4, the fixed pipeline, the possibility to send vertices one by one, matrices stack, ... have all been removed. Shaders are mandatory if you want to render anything. To my knowledge there are no bindings for Open GL >= 3 or GLES from OCaml. So this is the first. One problem with recent Open GL is teaching ... From C this is very technical and almost unasable with students. The idea of my bindings is to have - lowlevel bindings that are already a bit easier than using C directly (more errors detected at typing and runtime). - highlevel bindings usable by students, but also more confortable for the general programmer. I actually used thess bindings with my students this year ... Not perfect yet, but better than C or old OpenGL OCaml bindings. I hope this clarify things ... > Might there be a reason to convert my rather feeble > video game to gles3? (I'm currently using glMlite) glMlite (from the web page) is OpenGL 1/2 with a sentence I do no get fully: "glMLite is ready to develop forward compatible OpenGL 3.X programs!" To know if should switch to gles3 .... you have to give it a try ... If you have improvment to gles3 that would make you switch, please contribute ! Cheers, Christophe