New opam packages available : CamlSurf & Gles3

Dear Camlers,

I am pleased to announce the latest version of Gles3 and a new available software CamlSurf

CamlSurf.1.0

CamlSurf is a software written using Gles3 that allows visualization of implicit surfaces and curves. You write a small script defining your surfaces and curves, then run one or more scripts with CamlSurf_x11 script or CamlSurf_wayland script.

To install, opam install CamlSurf_x11 or opam install CamlSurf_wayland should work (after opam update).

See CamlSurf – README for the documentation and a nice video.

Gles3.20260725

Gles3 is an interface to open GLES3.2 and EGL to do graphic programming. The main novelty compared to the previous version from 2016 are:

  • Support for two backends : x11 and wayland. windows (wgl) and macos (cocoa) backends are planned, volunteers are welcome.
  • Support for a lot of architectures : all the architectures provided by the opam-ci including freebsd and macos using quartzx as X server should work.
    One exception is win32, but actually it should build using x11 too. If I a volunteer can give it a try and tell me the msys2 or cygwin package list, I would do an update.
    Although it compiles on opam-ci, there might be bugs when running the examples. Bug report are welcome!
  • Multiple window : the new version can handle several windows. The simplest solution in that case is to run each event-loop in its own domain (see examples/windows). This is only because of that example that we require OCaml 5. Compilation from source should work on OCaml 4.14 too except for that example.
  • Basic support to load a font and convert a text to a texture.
  • Cleaned / extended examples, for instance a new example shows how to write a shader to get the 3D coordinates of a clicked pixel (allowing for precise object movement using the mouse)
2 Likes

Thanks in particular for going to all the effort to fix the depexts in opam-ci in your package submission to work on everything including FreeBSD, @craff :slight_smile:

1 Like

Your welcome. Now I would like a screen shot of CamlSurf on freeBSD :wink: