comp.lang.ada
 help / color / mirror / Atom feed
From: Felix Krause <contact@flyx.org>
Subject: ANN: OpenGLAda 0.5 released
Date: Thu, 28 Sep 2017 23:11:17 +0200
Date: 2017-09-28T23:11:17+02:00	[thread overview]
Message-ID: <2017092823111722632-contact@flyx.org> (raw)

It has been a long time since I released an OpenGLAda version, and an 
even longer time since I announced it here. After laying around 
abandoned for quite some time, there was interest in OpenGLAda in the 
recent year, so I decided to put some work into it. The result is a new 
release that's available on GitHub as usual [1].

OpenGLAda is a wrapper for OpenGL, GLFW, FTGL and SOIL. It also 
includes functionality to load OpenGL function pointers at runtime 
similar to what the GLEW library does for C. As thick binding, it tries 
to make working with the OpenGL API as painless as possible.

In this release, the major change is that I rewrote the runtime-loading 
part to be more efficient. A welcome side effect is that I can now 
autogenerate a complete list of wrapped OpenGL functions along with 
code pointers to where in the OpenGLAda API the functionality can be 
found [2].

Since users struggled to get the demo programs to work, I included 
detailed instructions about how to setup dependencies in the Readme 
[3], especially for Windows (with GNAT GPL or TDM-GCC). I hope this 
makes the library more accessible for newcomers.

Thanks to Roger Mc Murtrie who contributed a lot to this release, there 
are now a lot of additional examples available besides the demo 
programs. These examples are taken from textbooks and translated into 
Ada. A good part of those examples have been taken from the OpenGL 
SuperBible [4] which is written for modern OpenGL, so they are most 
relevant for people who do want to use OpenGL 4.x functionality.

The examples have been tested and work on Windows 10 with both GNAT GPL 
2017 and TDM-GCC-64, as well as on macOS High Sierra with GNAT GPL 
2017. Sadly, I gave up on setting up a VM for testing on Linux (OpenGL 
support was too much of a pain to set up in the VM), so I could not 
test it on Linux, but I doubt that something has broken there since my 
last test. I would still be thankful for someone to test it.

Development is still ongoing and the next release will probably see the 
inclusion of a binding to parts of the FreeType library as FTGL is 
pretty dated and does not play well with modern OpenGL functionality. 
FreeType is necessary to render text using OTF/TTF fonts.

 [1]: https://github.com/flyx/OpenGLAda/tags
 [2]: http://flyx.github.io/OpenGLAda/mapping.html
 [3]: 
https://github.com/flyx/OpenGLAda#detailed-installation--compilation-instructions 

 [4]: http://www.openglsuperbible.com

-- 
Regards,
Felix Krause


             reply	other threads:[~2017-09-28 21:11 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-28 21:11 Felix Krause [this message]
2017-10-22 19:07 ` ANN: OpenGLAda 0.5 released Robert Eachus
2017-10-22 21:52   ` Luke A. Guest
2017-10-23 18:35   ` Felix Krause
2017-10-23 16:22 ` Shark8
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox