[vtkusers] Rendering error with clip planes on ray cast volumes and depth peeling

gohlinchia gohlinchia at gmail.com
Wed Feb 21 23:11:57 EST 2018


Hi Aashish,

I based my codes on the existing example, GPURenderDemo.cxx. I added the
following to activate depth peeling:

renWin->SetAlphaBitPlanes(1);
renWin->SetMultiSamples(0);

renderer->SetMaximumNumberOfPeels(20);
renderer->SetOcclusionRatio(0.0);
renderer->SetUseDepthPeeling(1);
renderer->SetUseDepthPeelingForVolumes(true);

Thanks for raising the bug issue.



-----
Chris
--
Sent from: http://vtk.1045678.n5.nabble.com/VTK-Users-f1224199.html


More information about the vtkusers mailing list