Currently browsing tag

code

svn

Phd Web SVN

I’ve put up a WebSVN repository to browse my Phd code. It’s a codebase for an academic project, so don’t expect any ready-for-production-use code. I tend to add a lot of code comments, so it should be quite readable. Dependencies: Visual Studio 2010 OpenMP OpenGL / FreeGlut Boost libraries (latest dev …

Days intervals in PHP

I needed a funtion that provided me with an array of all the dates between two given dates. This is quite a trivial function, but all over the net there are several implementations which are often quite bloated. By leveraging the power of strtotime it’s actually pretty easy! function getDays($start, …

Suggestive Contours Code

The little download counter on my super secret world domination dashboard indicates that my thesis code implementations of rendering suggestive contours on 3d meshes has been downloaded over a hundred times. Which tickles my curiosity. If you’re doing anything fun, serious, silly (or can’t get the damn thing to work …

Thesis text and code

I’ve bundled my thesis implementations and put them up for download on the thesis code page. The thesis text (and a small overview) can be downloaded from the thesis page itself. I’d like to thank my promotor, suprvisors and readers for all their efforts, and hope my work and code …

OpenGL Depthmap Rendering

A quick and dirty way to render depthmaps. It requires two passes, so it’s not optimal. I’ll be using this to pass a depthmap texture to a sobel edge detector (in GLSL) in order to draw contours by generating them in image-space. Other renders (normal-mapped, regular diffuse) will be tested …