[vtk-developers] QVTKWidget and Depth Peeling

eternallite cdavid.tran at gmail.com
Thu Jul 4 09:59:30 EDT 2013


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.



--
View this message in context: http://vtk.1045678.n5.nabble.com/QVTKWidget-and-Depth-Peeling-tp5721771.html
Sent from the VTK - Dev mailing list archive at Nabble.com.



More information about the vtk-developers mailing list