Blog | Tags | Archives | Projects | Stats | Contact
Tags: API, Game programming, Programming, Retro gaming, SDL, Source code, Video, Video games
… Or, How to Procrastinate Productively. 
I decided to make one of my current projects open source and post them on Google Code just for fun. The project is a toolchain that I’m using to remake Thrust. In reality, I decided to divide the project into two separate projects: the actual game engine and related tools, and a music editor that uses the engine.
Read more...
Tags: 256B, Assembly, Demoscene, Programming, Raytracing, Video
I’ll be deleting all my own source code since perfection has finally been achieved and there is no need for programmers anymore.
Read more...
Tags: Algorithms, Image retargeting
I came up with a neat way to retarget images using a mesh that is transformed by rotating and doing an ortographic (non-perspective) projection. This is generally quite interesting since it can be done using a mesh and simple transformations and so can be done almost completely on the GPU. Even using a mesh can [...]
Read more...
Tags: C, GCC, OpenGL
I stumbled upon weird behavior of OpenGL: I was setting material properties with glMaterialfv and for some reason this did not change the parameters if done multiple times in succession. I.e. when I drew two versions of the same object on the screen side by side with different material parameters, they both looked the same.
Read more...
Tags: C, Memory, Windows
It’s a common practice not to check what malloc() or new returns, since in an ideal world you will never run out of memory and so allocating memory will never fail. With a reasonably sized page file that is mostly true. When using a page file, this wouldn’t be a problem since if there is [...]
Read more...