From: eduardo.davila@creatis.insa-lyon.fr Date: Mon, 14 Apr 2025 08:23:11 +0000 (+0200) Subject: #3262 Change Background color X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=refs%2Fheads%2Fvtk9itk5wx3-macos;p=bbtkGEditor.git #3262 Change Background color --- diff --git a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxVtkSceneManager.cxx b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxVtkSceneManager.cxx index 9aac1c3..d472336 100644 --- a/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxVtkSceneManager.cxx +++ b/lib/EditorGraphicBBS/bbsWxGUIEditorGraphic/wxVtkSceneManager.cxx @@ -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();