Exemplo n.º 1
0
 public SimpleRenderer(int width, int height)
 {
     this.data = new CornellBoxSceneData(width, height);
     this.intersectionFinder = new IntersectionFinder(data.Triangles);
     this.width  = width;
     this.height = height;
 }
Exemplo n.º 2
0
 public PathtracingNEE(int width, int height)
 {
     this.data = new CornellBoxSceneData(width, height);
     this.intersectionFinder = new IntersectionFinder(data.Triangles);
     this.width  = width;
     this.height = height;
 }