From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=unavailable autolearn_force=no version=3.4.4 Path: eternal-september.org!reader01.eternal-september.org!reader02.eternal-september.org!news.eternal-september.org!feeder.eternal-september.org!border1.nntp.ams1.giganews.com!nntp.giganews.com!peer01.ams1!peer.ams1.xlned.com!news.xlned.com!peer04.fr7!futter-mich.highwinds-media.com!news.highwinds-media.com!fx04.am4.POSTED!not-for-mail From: Felix Krause Newsgroups: comp.lang.ada Message-ID: <2017092823111722632-contact@flyx.org> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 8bit Subject: ANN: OpenGLAda 0.5 released User-Agent: Unison/2.2 X-Complaints-To: abuse@eweka.nl NNTP-Posting-Date: Thu, 28 Sep 2017 21:11:17 UTC Organization: Eweka Internet Services Date: Thu, 28 Sep 2017 23:11:17 +0200 X-Received-Bytes: 3069 X-Received-Body-CRC: 2530340783 X-Original-Bytes: 3018 Xref: news.eternal-september.org comp.lang.ada:48253 Date: 2017-09-28T23:11:17+02:00 List-Id: 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