private void Window_Loaded(object sender, RoutedEventArgs e) { scene.CreateCamera(_cameraPosition); scene.ViewportInit(); MainGrid.Children.Add(scene.Viewport3D); scene.CreateMesh(_sphereRadius, _rowCount, _columnCount); }