]> Creatis software - bbtkGEditor.git/commitdiff
#3262 Change Background color vtk9itk5wx3-macos
authoreduardo.davila@creatis.insa-lyon.fr <eduardo.davila@creatis.insa-lyon.fr>
Mon, 14 Apr 2025 08:23:11 +0000 (10:23 +0200)
committereduardo.davila@creatis.insa-lyon.fr <eduardo.davila@creatis.insa-lyon.fr>
Mon, 14 Apr 2025 08:23:11 +0000 (10:23 +0200)
lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxVtkSceneManager.cxx

index 9aac1c3b0350d6da01270f3a96ed44618cf6a9a6..d472336287a06625c3bccb07748cba88da2d7462 100644 (file)
@@ -149,7 +149,8 @@ void wxVtkSceneManager::configureBaseView()
        _baseView->GetRenderer()->GetActiveCamera()->ParallelProjectionOn();
        _baseView->GetRenderer()->ResetCamera(-100, 100, -100, 100, -1000, 1000);
        _baseView->GetRenderer()->GetActiveCamera()->Zoom(20);
-       _baseView->GetRenderer()->SetBackground(0.9, 0.9, 0.9);
+       _baseView->GetRenderer()->SetBackground( 0.55 , 0.55 , 0.75 );
+    _baseView->GetRenderer()->SetBackground2( 0.77 , 0.77 , 0.99 );
        _baseView->GetRenderer()->GradientBackgroundOn();
        // Actos Port_Text
        _textActor = vtkTextActor3D::New();