[vtk-developers] QVTKWidget and Depth Peeling
Kevin Funk
kevin.funk at kdab.com
Wed Jul 10 10:41:36 EDT 2013
On Thursday 04 July 2013, 06:59, eternallite wrote:
> Has anyone got depth peeling to work inside a QVTKWidget?
>
> renderer->GetLastRenderingUsedDepthPeeling();
>
> keeps returning 0 (false) after renderer->Render() even though I've set up
> the renderer for depth peeling:
>
> renderer->GetRenderWindow()->SetAlphaBitPlanes(1);
> renderer->GetRenderWindow()->SetMultiSamples(0);
> renderer->SetUseDepthPeeling(1);
> renderer->SetMaximumNumberOfPeels(100);
> renderer->SetOcclusionRatio(0.1);
>
> I'm completely lost. My graphics card is an NVidia GTX 480 so that can't be
> the problem.
Maybe this is related: [1]
Quick summary: You can't use depth peeling in conjunction with vtkImageSlice.
Greets
[1] http://www.vtk.org/pipermail/vtkusers/2013-January/127089.html
--
Join us in October at Qt Developer Days 2013! - https://devdays.kdab.com
Kevin Funk | kevin.funk at kdab.com | Software Engineer
KDAB (Deutschland) GmbH&Co KG, a KDAB Group company
Tel. Germany +49-30-521325470, Sweden (HQ) +46-563-540090
KDAB - Qt Experts - Platform-independent software solution
More information about the vtk-developers
mailing list