I stopped working on the code for many weeks because I had other things to on my mind, but also because the work I planned was not super exciting. I want to trust my "basic" libraries, math, core and image. They contain relatively simple code that will be the building blocks of the rest of…
Category: Programming
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…
First release of code doc generator
The GitHub page for the project is now up. Thanks to GitHub pages I can now host the HTML code documentation for my entire C code, which is quite a nice feature. See it here. I have also uploaded a binary version of the generator, with a readme file and an example project. If you…
C programming – adding multi-threading
A simple API I have not worked a lot with concurrency in the past, though in my C++ code I made a small multi-threaded job system, that I barely used. This time I wanted to introduce it quite early in the code to maximize chances of using it when applicable. And just to be more…
Progress update: C doc generator tool
It works! After weeks spending time on it (& fixing code), I have a working version of the doc generator I am satisfied with. Thanks to my girlfriend, setting up correct HTML/CSS would have been a lot more painful if I had to do it myself. In terms of speed, it's currently taking less than…
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…