About
This Ada-binding to OpenGL aims at providing the latest OpenGL features in a
collection of Ada packages. Hopefully it will evolve into a thick binding if
time permits.
News
- 2003-03-24
Long time, no update. I've been very busy at school, but I haven't forgotten about this project yet.
As my school project is coming up, and it uses Ada and OpenGL I'm hoping to clean some stuff up here real soon.
In the meantime you can admire the new screenshot of AdaGLUT running on MacOS X 10.2.4 in Apple's X11. I'm hoping to be able to write a carbonized example in the near future for all you OSX-lovers out there. - 2003-01-11
Finally I have released AdaOpenGL 0.9 which I would like to consider the first stable release.
I have not had time to extensively test it but the tests I have performed tells me it's working satisfactory.
You can get it from the downloads page.
These versions are supported:
OpenGL: 1.4
GLU: 1.3
glut: 3.7
glX: 1.4
New features:- glut support
- Replaced all uses of "access GL*" in function/procedure declarations with GL*Ptr types
- Added glut example
- Added SDL example
Bugfixes:
- You can now pass Ada null's to gl* functions (that support it)
- Removed unnecessary overloaded functions that used System.Address since you can use 'Unchecked_Access to pass an aliased variable as a pointer
- Stronger typing
- glX fixed, requires a patched AdaBindX 0.7.2, or a newer version (not available at the moment)
- glX example now working
- Alot of sourcecode cleanups
- 2003-01-08
Guillaume Foliard found the glX problem and sent in a a patch that adds two missing features to AdaBindX which are needed to use glX. The patch has been sent to the AdaBindX developers and we hope that it will be included in the next release.
In the meantime the patch can be downloaded here: AdaBindX 0.7.2 Patch
Since this was the final major bug with the current CVS version of AdaOpenGL I hope that I will be able to release the next version within the next day or two. There are some minor bugs left in the examples that I want to fix first and I have to study for my exams (therefore the delay). - 2003-01-04
OpenGL.GLUT is up and running. OpenGL and OpenGL.GLU seems to behaving as they should, so the next release is closing in fast. The only thing that is not working as I want it to is OpenGL.GLX. Passing a NULL to glXCreateContext as the sharedList parameter causes an exception to be raised even though this is how you use it in C, I must've misunderstood some vital Ada part relating to interfacing C libs. I have added a screenshot of GLUT running one of the NeHe tutorials in fullscreen.
I'm working on the thick binding and it is progressing nicely. There will probably be a prototype available real soon.
As I have three exams starting next saturday and after that I'm back to school I'm in a hurry to finish as much as possible this week since I don't know how much time I will have available in two weeks. - 2002-12-31
I have added a documentation section. Most of the docs are generated by AdaDoc so they might not be very informative. Hopefully I will get some more comments into those files which will make the docs more human readable.
I've also restructured some of the function calls in CVS thanks to some hints from Joachim Schröer. I've begun working on GLUT, but it's not ready for use just yet. - 2002-12-28
I have uploaded adaopengl-0.1.tar.gz.
This release is meant to be used for evaluation and feedback. It is likely the API will change somewhat in the near future to provide a thicker binding. The standard OpenGL API will always be there though.This is the first post.
There is not much here yet except that css and iconset that I stole ;).
There is a somewhat useful version of AdaOpenGL in cvs. If you have anything constructive to say about it please mail me or use the mailinglist provided by sourceforge.
Project administrator David Holm david@realityrift.com