private void Initialize() { _scene = new GLScene(); Logger.InitLoggerService(new BasicLoggingService()); var labyrinth = new GLLabyrinthObj(); labyrinth.Name = "labyrinth"; _scene.Objects.Add(labyrinth); Resize += delegate { SetupCamera(); }; Run(30); // fps RenderFrame += PaintingView_RenderFrame; }
private void Initialize() { _scene = new GLScene(); //_scene.Objects.Add(new GLAxis()); _scene.Objects.Add(new GLStarSpace() { Count = 200 }); Resize += delegate { height = Height; width = Width; SetupCamera(); }; Run(20); // 20 fps RenderFrame += PaintingView_RenderFrame; }