Original Post
In quake3 bsp map it is lump called Lightvols. It contains uniform grid of lighting informations. It would be nice to use this information to light up dynamic objects. Lightvols make up a 3D grid whose dimensions are: nx = floor(models[0].maxs[0] / 64) - ceil(models[0].mins[0] / 64) + 1 ny = floor(models[0].maxs[1] / 64) - ceil(models[0].mins[1] / 64) + 1 nz = floor(models[0].maxs[2] / 128) - ceil(models[0].mins[2] / 128) + 1 I wonder how to use this formulas. How can I figure out dimensions of the lightgrid and particular cells?