[vtkusers] 3d texture map volume rendering - culler

Todd Gable Todd_Gable at invision.iip.com
Tue Jun 28 14:31:36 EDT 2005


Do you have any sample code on how to use the culler with multiple volumes in one window? Here is what I tried, which will run but does not work. I'm probably not even close.

	...
	vtkFrustumCoverageCuller* culler = vtkFrustumCoverageCuller::New();
	culler->SetSortingStyleToBackToFront();
	...
	vtkRenderer* renderer = vtkRenderer::New();
	renderer->AddVolume(volume1);
	renderer->AddVolume(volume2);
	renderer->AddCuller(culler);

Thanks.

Todd



More information about the vtkusers mailing list