GetCamera()->Yaw(180+30);
GetCamera()->Pitch(-22);
- }
+ //https://stackoverflow.com/questions/47528086/problems-with-rendering-transparent-objects-in-vtk
+ //https://itk.org/Wiki/VTK/Depth_Peeling
+ _aRenderer->SetUseDepthPeeling(1);
+ _aRenderer->SetOcclusionRatio(0.1);
+ _aRenderer->SetMaximumNumberOfPeels(100);
+ _renWin->SetMultiSamples(0);
+ _renWin->SetAlphaBitPlanes(1);
+ } // if _configure
}
//-------------------------------------------------------------------