示例#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;
 }
示例#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;
 }