# 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.

Rendering skyboxes in OpenGL with a single quad.

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

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 for 32- and 64-bit versions of Windows.

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

## Mobile

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

Information regarding Assimp on Android.

## Maths

Understanding the 27 card trick.