[vtkusers] Thousands of Spheres slow down FPS evidently

zlf jxdw_zlf at yahoo.com.cn
Sat Oct 15 04:55:27 EDT 2011


sphere = vtkSphereSource::new ();
sphere->SetRadius(3);
sphere->SetRadius(0.5);
sphere->SetThetaResolution(6);
sphere->SetPhiResolution(6);

_sphereMapper = vtkPolyDataMapper::new();
_sphereMapper->SetInput(sphere->GetOutput());

sphereActor = vtkActor::new();
sphereActor->SetMapper(_sphereMapper);
aRender->AddActor(sphereActor);

I add two thousand sphere into renderer. Which slows down FPS evidently.
Actually, instead of sphere, I just need some on screen markers.

Any way to show thousands of markers without slows down FPS evidently.

Thanks

superZZ

--
View this message in context: http://vtk.1045678.n5.nabble.com/Thousands-of-Spheres-slow-down-FPS-evidently-tp4904858p4904858.html
Sent from the VTK - Users mailing list archive at Nabble.com.



More information about the vtkusers mailing list