public MultiThreadingRenderer(int i, Aggregate objects, List <ILight> lights, ICamera camera, Film film)
 {
     threadId        = i;
     this.camera     = camera.Clone();
     this.integrator = (IIntegrator)Activator.CreateInstance(Constants.Integrator);
     this.film       = film;
     this.sampler    = (ISampler)Activator.CreateInstance(Constants.Sampler);
     this.objects    = objects;
     this.lights     = lights;
 }