[Haskell] ANNOUNCE: OpenGLRaw 1.0.0.0

Sven Panne Sven.Panne at aedion.de
Thu Jun 11 12:56:01 EDT 2009


As a first step to make the OpenGL package easier to install, more modular and 
a bit more flexible, a low-level binding for OpenGL has been uploaded to 
Hackage. From OpenGLRaw's package description:

------------------------------------------------------------
OpenGLRaw is a raw Haskell binding for the OpenGL 3.1 graphics system and lots 
of OpenGL extensions. It is basically a 1:1 mapping of OpenGL's C API, 
intended as a basis for a nicer interface. OpenGLRaw offers access to all 
necessary functions, tokens and types plus a general facility for loading 
extension entries. The module hierarchy closely mirrors the naming structure 
of the OpenGL extensions, making it easy to find the right module to import. 
All API entries are loaded dynamically, so no special C header files are 
needed for building this package. If an API entry is not found at runtime, a 
userError is thrown.

OpenGL is the industry's most widely used and supported 2D and 3D graphics 
application programming interface (API), incorporating a broad set of 
rendering, texture mapping, special effects, and other powerful visualization 
functions. For more information about OpenGL and its various extensions, 
please see http://www.opengl.org/ and http://www.opengl.org/registry/.
------------------------------------------------------------

Version 1.0.0.0 covers the OpenGL 3.1 core, all ARB extensions and all EXT 
extensions. Great care has been taken to introduce as few build dependencies 
as possible, so neither autoconf is required, nor any OpenGL headers. Future 
versions of the OpenGL package will basically be a convenience layer above 
this package, but you can always fall back to the raw binding if required. To 
get a taste for it, have a look at http://aedion.de/haskell/SmoothRaw.hs, 
which should look extremely familiar to anyone who has used OpenGL's C API.

Any feedback is highly appreciated.

Cheers,
   S.



More information about the Haskell mailing list