Esempio n. 1
0
        public Sample(Sampler sampler, SurfaceIntegrator surfaceIntegrator, VolumeIntegrator volumeIntegrator, Scene scene)
        {
            int nPtrs = n1D.Count + n2D.Count;

            if (nPtrs == 0)
            {
                oneD = twoD = null;
            }
        }
Esempio n. 2
0
 //Scene
 public SampleRenderer(Sampler s, Camera c, SurfaceIntegrator f)
 {
     sampler           = s;
     camera            = c;
     surfaceIntegrator = f;
 }