]> Creatis software - creaMaracasVisu.git/commitdiff
Clean Code
authoreduardo.davila@creatis.insa-lyon.fr <eduardo.davila@creatis.insa-lyon.fr>
Fri, 2 Feb 2024 15:23:20 +0000 (16:23 +0100)
committereduardo.davila@creatis.insa-lyon.fr <eduardo.davila@creatis.insa-lyon.fr>
Fri, 2 Feb 2024 15:23:20 +0000 (16:23 +0100)
lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtk3DBaseView.cxx

index f1e2e3c8791fc97f7ac444a51956abd88c650bbe..3241e4cf53e3056ee4acfa22e697bc781c000b1c 100644 (file)
@@ -222,9 +222,12 @@ void wxVtk3DBaseView::Configure()
 // EED 2022-08-24
 //             _aRenderer->SetUseDepthPeeling(1);
 //             _aRenderer->SetOcclusionRatio(0.1);
-// //        _aRenderer->SetMaximumNumberOfPeels(100);
+//        _aRenderer->SetMaximumNumberOfPeels(100);
 //             _aRenderer->SetMaximumNumberOfPeels(4);
         
+        _aRenderer->UseDepthPeelingOn();
+        _aRenderer->UseDepthPeelingForVolumesOn();
+        
                _renWin->SetMultiSamples(0);
                _renWin->SetAlphaBitPlanes(1);