Implementing lightcuts

Lightcuts is a new scalable framework for computing illumination in scenes with complex lighting. It handles different types of illumination, including HDR environment maps, sun/sky models, area lights, and indirect illumination and scales well to handle scenes with complex geometry and non-diffuse materials. The core component is a scalable method for accurate approximating the illumination from many point lights (e.g., thousands or millions).