- Slim Graphics: IntroductionSlim Graphics is my toy graphics engine I’ve been using to experiment with different graphical techniques and learn more about DirectX 12 as well as other graphical features such as Mesh Shaders as well as optimisation techniques. I have not… Read more: Slim Graphics: Introduction
- Comparing Synchronisation Methods on WindowsMutexs, Semaphores, Condition Variables, Critical Sections… There are so many different synchronisation types to choose from but how do they compare in terms of performance and what other synchronisation types are there we can explore? My tests here have been… Read more: Comparing Synchronisation Methods on Windows
- Does calling sqrtf always result in a single asm instruction?I was recently running some performance benchmarks across different platforms to understand the cost of some simple mathematic functions such as sqrtf and quickly noticed, under certain circumstances compilers such as MSVC, Clang and GCC by default will not generate… Read more: Does calling sqrtf always result in a single asm instruction?
- Visualising SRGB & Gamma CorrectionIntroduction There are plenty of fantastic websites out there which explain the technicalities of Gamma Correction and SRGB colour correction so won’t try to do the same here. Instead this post is to show visually the effects of SRGB/Gamma Correction… Read more: Visualising SRGB & Gamma Correction
- Redirect all stdout/stderr to consoleIf your Windows executable is using /SUBSYSTEM:WINDOWS rather than /SUBSYSTEM:CONSOLE, something you will have noticed your output messages to stdout (printf, std::cout etc) will be missing. You can easily solve this however by spawning your own Windows console window and… Read more: Redirect all stdout/stderr to console
- Increase Windows Console Line LimitIf you’re in a situation where your console output text is being truncated because so many lines have been output, you may want to increase the limit. Increase Windows Console Text Limit With a console window already spawned, right click… Read more: Increase Windows Console Line Limit
- Faster Compiling: Visual Studio Unity (Jumbo) BuildsUnity/Jumbo builds are a way of speeding up C/C++ compilation by compiling multiple c/cpp files as a single object file. Speed improvements can come from not having to re-parse and compile shared headers. Even in projects that use pre-compiled headers,… Read more: Faster Compiling: Visual Studio Unity (Jumbo) Builds
- Programming a Digital Potentiometer (MCP4131) With Raspberry Pi & WiringPiGithub Link: https://github.com/comeradealexi/MCP4131 Datasheet One of the most important parts of programming an MCP is studying the datasheet provided with it. For the MCP4131, you can download it here: https://www.microchip.com/en-us/product/MCP4131 It will provide everything you need to know about the… Read more: Programming a Digital Potentiometer (MCP4131) With Raspberry Pi & WiringPi
- Connecting to Raspberry Pi direct to PC via EthernetThis article will show you how to connect directly to a Raspberry Pi by connecting an ethernet cable directly to your PC without needing to do any setup on the Raspberry Pi itself. This means you don’t need to plug… Read more: Connecting to Raspberry Pi direct to PC via Ethernet
- C++ unique/shared ptr custom deletersI’ve recently found the need for a custom deleter function attached to smart pointers in C++ and I found there are a number of different ways to implement this. I’ll touch on the advantages/disadvantages of the different ways to use… Read more: C++ unique/shared ptr custom deleters