The DirectX .x file format is a model format that supports bones for animation. It’s intended to be used with DirectX but can be used with OpenGL also. This article explains how to apply the transformations to vertices with models exported from Blender when using GLM (which is equivalent to OpenGL.)
SDL 2 includes support for high DPI displays and it works on macOS, but on Windows a bit of extra work is needed. In my case I just don’t want my game to be scaled by the OS, which causes blur, and that’s what I’ll explain how to do. You can get the same behaviour by right clicking any EXE, clicking Properties then the Compatibility tab and checking “Override high DPI scaling behaviour”, but you probably don’t want your users to go to the trouble.
These past few days I’ve needed a microphone. If you’re like me, you’ve got piles of tech gadgets that you maybe used a few times before but are just kicking around now. Sometimes you need something and you dig out the boxes to find it. I tested the 5 different mics I had laying around to find which sounds best.
3 months ago I encypted my Windows 10 system partition with VeraCrypt. I wanted to save money by not having to upgrade Windows 10 Home to Pro to get BitLocker. So far everything has worked exceptionally well, with a few caveats.
Here are a few benchmarks loosely related to one of my Raspberry Pi games, Crystal Picnic. To begin, all Pis were updated fully and for compilation, gpu_mem in /boot/config.txt was set to 8 MB, and while running the game it was set to 128 MB. The Pi 2 and 3 shared the same SD card/installation while the Pi 1 had a separate one because I couldn’t get it to run the same one as the others. All builds were release builds. Allegro was compiled without jpeg, flac, opensl, dumb, ogg, physfs and gtk and the documentation, examples, demos and tests were not built (i.e., only the features needed for Crystal Picnic were built.) On Pi 1, the command being timed was ‘make’ while on 2 and 3 it was ‘make -j4’ except where noted that only a single core was used. In all cases the gcc version was 4.9.2 and Kernel version was 4.9.24.