vtkDualDepthPeelingPass example

Hi Paulo,
Thanks for your kind reply. My problem was that when I checked whether depth peeling was enabled or not using

    int depthPeelingWasUsed = renderer->GetLastRenderingUsedDepthPeeling();

it always prints “0” indicating false. I later found that it’s because I didn’t set the opacity of the actor. Depth peeling only takes effect on traslucent geometry.