예제 #1
0
 public Renderer(RenderData renderData, bool useEx)
 {
     _renderData  = renderData;
     _useExTracer = useEx;
 }
예제 #2
0
 private IRayTracer CreateRayTracer(Camera camera, RenderData renderData, Scene scene, bool useKdTree)
 {
     return(_useExTracer
        ? new RayTracerEx(camera, renderData, scene, useKdTree) as IRayTracer
        : new RayTracer(camera, renderData, scene, useKdTree) as IRayTracer);
 }
예제 #3
0
 public NffParserResult(Scene scene, RenderData renderData, Camera camera)
 {
     Scene      = scene;
     RenderData = renderData;
     Camera     = camera;
 }