public BucketWorker(Rectangle imgPlaneRect, Rectangle bucketRect, Display display, IPixelSampler pixelSampler, Scene scene, ManualResetEvent doneEvent)
        {
            _doneEvent = doneEvent;

            m_pixelSampler = pixelSampler;
            m_scene = scene;
            m_imgPlaneRect = imgPlaneRect;
            m_bucketRect = bucketRect;
            m_bucketRect.Intersect(imgPlaneRect);
            m_display = display;
        }
 public ImageSamplerBuckets(IPixelSampler pixelSampler)
 {
     m_pixelSampler = pixelSampler;
 }
예제 #3
0
 public RenderPipeline(IWorldSampler world, ICameraSampler camera, IPixelSampler film)
 {
     World  = world;
     Camera = camera;
     Film   = film;
 }