Beispiel #1
0
        // C O N S T R U C T O R S

        public RenderPipeline(Scene scene, int w, int h)
        {
            System.Drawing.Color.Black.ToArgb();
            this.scene = scene;
            screen     = new Screen(w, h);
            zBuffer    = new uint[screen.w * screen.h];
            rasterizer = new Rasterizer(this);
        }
Beispiel #2
0
 // C O N S T R U C T O R S
 public RenderPipeline(Scene scene, int w, int h)
 {
     System.Drawing.Color.Black.ToArgb();
     this.scene = scene;
     screen = new Screen(w, h);
     zBuffer = new uint[screen.w * screen.h];
     rasterizer = new Rasterizer(this);
 }