A lightmap generator. Based on PBRT radiosity algorithm.