Category: Programming
-
Programming Log 2022 #2: LearnOpenGL Android port WIP
It’s been a while since I posted anything, I have stopped working for a good chunk of the year, but I recently went back at it! Changelog: ported all exisiting LearnOpenGL examples to android (gathering everything under one app), now all code is portable between win32 & android Cmake macros improvement to automatically handle assets…
-
Programming Log 2022 #1: Starfield
Changelog: Support for Linux platform in the toolchain using cmake, CodeBlocks with Unix Makefiles, on Ubuntu VM Support for Android platform in the toolchain using (only) Visual Studio 2022 with mobile development tools for C++ and cmake simple starfield app using software rendering After months of relative inactivity, I am back working on the project!…
-
Summer update 2021: getting rid of dependencies
Photo by Nattu Adnan on Unsplash I have been away from this site for a long time. I was busy buying a house and preparing a wedding, and my motivation took a serious hit. Things are starting to calm down so I will hopefully write more posts from now on. I removed some pages from…
-
Coding update: I’m terrorized by my own unit-tests
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…
-
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 here Added GLSL file types to code documentation (and added shader files to tutorial documentation) A LOT of code simplification effort to remove all needlessly complex structures and data types remove…
-
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) JPEG PNG GIF (some cases not handled like interlaced data) supported…
-
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…