OpenGL, slowly
Posted: Tue Apr 11, 2006 4:32 am
Hi all,
I'm trying to learn OpenGL to see if I can do something about the text rendering in Oolite, which is the major impediment to localisation as far as I can tell.
Until yesterday I never managed to get anything to appear in an OpenGL window (well, aside from Oolite ;) but I finally started making progress.
The text drawing using SDL images rather than textures wasn't going too well so I thought I'd try a diversion and convert the Oolite .dat files to OpenGL calls and see if I could get the ships drawing.
This won't turn into another DryDock - I can't even understand the messages from F_C and Ahruman. But I'm pretty happy I finally wrote some OpenGL code that actually draws something other than a blank window!
I'm trying to learn OpenGL to see if I can do something about the text rendering in Oolite, which is the major impediment to localisation as far as I can tell.
Until yesterday I never managed to get anything to appear in an OpenGL window (well, aside from Oolite ;) but I finally started making progress.
The text drawing using SDL images rather than textures wasn't going too well so I thought I'd try a diversion and convert the Oolite .dat files to OpenGL calls and see if I could get the ships drawing.
This won't turn into another DryDock - I can't even understand the messages from F_C and Ahruman. But I'm pretty happy I finally wrote some OpenGL code that actually draws something other than a blank window!