Projects / Code
This section is an overview of projects and code i’m working / have worked on.
Projects & code I’m actively working on …
LiAR isn’t a raytracer (external)
LiAR is a recursive acronym which stands for LiAR isn’t A Raytracer, and it’s the name my current raytracer project. My old one Platracer has become a complete mess. So LiAR is my new effort to write a proper and extendable raytracer with photonmapping and all that. It is an open source and freeware raytracer that is mostly written in C++ as an extension module for Python. The LASS library is being used as main utility library, so that should be cool as well. LiAR is licensed under the GNU GPL license and is hosted by SourceForge.
LASS is an open source C++ library written by Tom De Muer and myself to help us writing better code. It includes an interfacing library to Python, templated geometric primitives and spatial subdivision schemes, several design patterns and other utilities we use in our day-to-day codings. LASS is licensed under the GNU GPL and hosted by SourceForge.
pycpuid is a very simple Python extension. It reads the information available from the
CPUIDassembly instruction, and makes it available to any Python program. I needed it to decide on some codepath based on whether the box supported SSE2. I didn’t found anything alike, so I coded it myself.
pyvtuneapi is a very simple extension that binds the VTune API to Python. If you have VTune, and you’re using it to profile a Python driven application, you can use
pyvtuneapito pause and resume the analyzer.
xmp2exif is a very simple commandline utility that restores the EXIF metadata in a image from the XMP metadata.
Projects that are not my own, but in which I’m participating as a developer.
PixelToaster is an open source portable framebuffer graphics library for C++, designed by Glenn “Gaffer” Fiedler as a replacement for OpenPTC and TinyPTC. With PixelToaster, you can open a display at the desired resolution, and render your stuff render into an array of pixels. Both 32 bit truecolor and 128 bit floating point color pixels are supported. You also get basic keyboard and mouse input and a timer, plus portability across PC, Mac and Unix boxes. My contribution is mainly the X11 code branch of PixelToaster.
Pyshapelib is a small Python wrapper around shapelib to open ESRI shapefiles, originally written by Bernhard Herzog. My work includes the rewrite of the library as hand-crafted modules instead SWIG generated ones; and adding support for Z and M values, Unicode strings and filenames, and code pages.
Code I’m no longer maintaining …
Platracer is my old ray tracer i’ve started writing in 1999. Yes, that’s the previous century. Previous millenium even. It is entirely written in C++, not even a bit of assembly. I just started to learn C++ at that time, so obviously, the code base turned out to be a complete mess. Sorry I’m not releasing any code of it, but it is way too ugly. It really is. Yet, over the years, I’ve been working on it, and I’ve got some nice results from it. Now days, the code base is entirely abandoned in favour for my new ray tracer: LiAR.
Callback is a tiny open source C++ library for object oriented callback functions (functors) for those days boost or libsigc++ is a bit too much. This library is also integrated in LASS. It is released under the GNU GPL license.
An attempt to write a quicksort using C++ template metaprogramming. Totally useless, but a bit of fun nevertheless.