Posts

Computer Graphics

Reconstructing Position from Linear Depth

Discusses two different methods to reconstruct the 3D position of a pixel from a linear depth buffer.

The Skyquad

Rendering skyboxes in OpenGL with a single quad.

Introduction to Path Tracing

Slides on an introduction to the basics of path tracing.

Interactive Volumetric Lighting Simulating Scattering and Shadowing

Slides on the paper Interactive Volumetric Lighting Simulating Scattering and Shadowing. The paper per se is not my original work.

Approximating Dynamic Global Illumination in Image Space

Slides on the paper Approximating Dynamic Global Illumination in Image Space. The paper per se is not my original work.

Functional Programming

Calc: a simple Haskell eDSL

An introductory tutorial to eDSL design and compilation in Haskell.

An Introduction to Monads for C++ Programmers

An introductory tutorial on monads for C++ programmers. No previous exposure to Haskell assumed.

Modeling game objects in Haskell

A little tutorial explaining one way of modeling game objects in Haskell. The article was never published, however, as I was accused of reinventing an object system in Haskell.

Hacking

Code Caves on Windows

Code caves for 32- and 64-bit versions of Windows.

ret2libc

A tutorial on the ret2libc attack. This was written in 2006, pardon the grammar.

Mobile

Android NDK Adventures

Quick tutorial / reference guide on C++ programming for Android.

Assimp on Android

Information regarding Assimp on Android.

Maths

27 Card Trick

Understanding the 27 card trick.