//-------------------------------------------------------------------
void wxVtk3DBaseView::Refresh()
{
-printf("EED wxVtk3DBaseView::Refresh Start\n");
// _renWin->Render();
vtkRenderWindowInteractor *vri = GetWxVTKRenderWindowInteractor();
vri->vtkRenderWindowInteractor::Render();
-printf("EED wxVtk3DBaseView::Refresh End\n");
}
//-------------------------------------------------------------------
_aRenderer->SetMaximumNumberOfPeels(100);
_renWin->SetMultiSamples(0);
_renWin->SetAlphaBitPlanes(1);
+
+//EED 2021-11-3
+// The Depth Peeling method have a bug in MacOs
+// In vtkDualDepthPeelingPass::Peel() TranslucentWrittenPixels are incoherent TOO BIG some times. Why ??
+// So the comparition in vtkDualDepthPeelingPass::PeelingDone() is not coherent.
+// while (!this->PeelingDone())
+// {
+// this->Peel();
+// }
+// Or CurrentPeel >= MaximumNumberOfPeels || TranslucentWrittenPixels <= OcclusionThreshold not coherent. Why ??
+ _aRenderer->UseDepthPeelingOff();
+
} // if _configure
}