Currently browsing tag

algorithm

An accurate method for Voxelizing Polygon Meshes

Transforming a polygon mesh into a 3D grid / voxel data set is still the quickest way to play with some interesting data in any voxel-based application. You can do this interactively on the GPU, using Eisemann/Décoret’s method, described in Single-pass GPU solid voxelization for real-time applications (2008). When it comes to …

Ray / Octree traversal: Parametric algorithm implementation

This is my implementation of a Ray/Octree traversal algorithm using an adapted version of the Revelles 2000 paper An efficient parametric algorithm for octree traversal. I’ve made it compliant with IEEE double precision standard. This implementation is minimal and very bare-bones, but should be a good starting point if you want …

Mafia II: Lighting analysis

I’m having a playthrough of Mafia II at the moment – went into it with a bit of hesitation because of the mixed reviews, but turns out it’s pretty okay. It focuses heavily on the story-based content, so just don’t go in expecting a free-roaming adventure, because besides buying clothes …