From: eduardo.davila@creatis.insa-lyon.fr Date: Fri, 2 Feb 2024 15:23:20 +0000 (+0100) Subject: Clean Code X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=commitdiff_plain;h=15ec1334ad5dd26f060b730e53abaed1ac081b15;p=creaMaracasVisu.git Clean Code --- diff --git a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtk3DBaseView.cxx b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtk3DBaseView.cxx index f1e2e3c..3241e4c 100644 --- a/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtk3DBaseView.cxx +++ b/lib/maracasVisuLib/src/interface/wxWindows/widgets/wxVtk3DBaseView.cxx @@ -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);