Coding update: 2D Text Rendering

Making things a lot simpler I've reworked the code for bitmap fonts that I had before. What I had previously was working but in the end was very complicated for no reason. The new font library has the following (limited) features: request any TrueType font installed on the system, with some options (size, italic, bold,…

Coding update – lighting and code removal

Slow progress is still progress These are the things I worked on since last article: Implemented the Lighting tutorials of LearnOpenGL - result visible hereAdded GLSL file types to code documentation (and added shader files to tutorial documentation)A LOT of code simplificationeffort to remove all needlessly complex structures and data typesremove all macros except dbuffer…

Coding update – tools, improvements and (re)Learn OpenGL

It's been a while since my last post, I was on holidays and also some of the things below kept me quite busy. Here is a non exhaustive list of what I've worked on: cmake scripts: I've finally managed to make targets dependent on files that are not source, so if that text or image…

Coding update: new libraries, graphics and input

I'm still coding my way back to where I was before I decided to switch to C instead of C++. I updated the documentation with the new libs (I have to write hundreds of comments though...sigh...). Graphics The graphics library is a wrapper for OpenGL. A lot of functions are not doing much more than…

C Code joy: the image library

I have transferred my C++ image library to C. Fortunately that wasn't too hard, and I've been able to make many improvements along the way. After the porting to C it's cleaner, way more modular, I love it. Features supported image formats:bitmap (.BMP)JPEGPNGGIF (some cases not handled like interlaced data)supported pixel formatsindexed images 1 to…

What’s up? Doc!

Jaysus my titles keep going lamer and lamer... Progress update on the documentation generator I've made a lot of progress on the code documentation tool. I took a lot of inspiration stole from Eskil Steenberg's website gamepipeline.org. On "stealing" things On this subject, whenever I see something cool from another developer online, especially someone with…