public SamplerRenderer(Sampler sampler, Camera camera, SurfaceIntegrator surfaceIntegrator, VolumeIntegrator volumeIntegrator) { _sampler = sampler; _camera = camera; _surfaceIntegrator = surfaceIntegrator; _volumeIntegrator = volumeIntegrator; }
public Sample(Sampler sampler, SurfaceIntegrator surfaceIntegrator, VolumeIntegrator volumeIntegrator, Scene scene) { Num1D = new List<int>(); Num2D = new List<int>(); if (surfaceIntegrator != null) surfaceIntegrator.RequestSamples(sampler, this, scene); if (volumeIntegrator != null) volumeIntegrator.RequestSamples(sampler, this, scene); AllocateSampleMemory(); }
public virtual void RequestSamples(Sampler sampler, Sample sample, Scene scene) { }