X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=lib%2FmaracasVisuLib%2Fsrc%2Finterface%2FwxWindows%2Fwidgets%2FwxVtk3DBaseView.cxx;h=e601235c1bd8365c71b97f8b75ada2c789334f05;hb=096822cf3513065cfa25e378679339a5ae4684cf;hp=4af3bfd28f614fc45f25784088748d0fe461d519;hpb=719f6d5eb59df04d0034dc10638b180f4c5a995f;p=creaMaracasVisu.git diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtk3DBaseView.cxx b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtk3DBaseView.cxx index 4af3bfd..e601235 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtk3DBaseView.cxx +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtk3DBaseView.cxx @@ -51,7 +51,11 @@ void wxVtk3DBaseView::Configure() _renWin = vtkRenderWindow::New(); _renWin->AddRenderer(_aRenderer); - + _aRenderer->GradientBackgroundOn(); + _aRenderer->SetBackground( 0.33 , 0.33 , 0.33 ); + _aRenderer->SetBackground2( 0.66 , 0.66 , 0.66 ); + + // _renWin->SetStereoCapableWindow(1); // // //renderwindow->SetStereoTypeToCrystalEyes(); // _renWin->SetStereoTypeToRedBlue();