Example #1
0
 public static void Main(string[] args)
 {
     var output = new NullOutput(640, 480);
     XmlSceneReader reader = new XmlSceneReader();
     Scene scene = reader.Load(args[0], output);
     scene.Draw();
 }
Example #2
0
 public RealtimeWindow(string fileName)
 {
     InitializeComponent();
       output = new RealtimeWindowOutput(640, 480, this);
       XmlSceneReader reader = new XmlSceneReader();
       scene = reader.Load(fileName, output);
 }
Example #3
0
 public static void Main(string[] args)
 {
     var output = new JpegOutput(640, 480);
       XmlSceneReader reader = new XmlSceneReader();
       Scene scene = reader.Load(args[0], output);
       scene.Draw();
       output.Save("output.jpg");
 }