From c01d77bdfcad4dd8e20710a44eea023d61da6728 Mon Sep 17 00:00:00 2001 From: "eduardo.davila@creatis.insa-lyon.fr" Date: Mon, 14 Apr 2025 10:23:11 +0200 Subject: [PATCH] #3262 Change Background color --- .../bbsWxGUIEditorGraphic/wxVtkSceneManager.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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(); -- 2.50.0