[vtkusers] vtkActor rendering time

Broggi, Pomme pomme.broggi at capgemini.com
Fri Dec 18 04:25:24 EST 2009


Hello,

I have created my own octree, if I show my ground using one actor, between starting of rendering loop and first render  of my ground actor, 10 s are needed. If I use   16 actors to display the same ground (128/128), and I show all parts at the same time, 60 s are needed.
What happens, why the first render is so slow, why is it so more slow to display 16 smalls actors than 1 big actor?

Objects used to create vtk actors are :

vtkPoints * pPoints = vtkPoints::New(); //Liste des points du maillage

vtkPolyData * pPolyData = vtkPolyData::New(); // Objet comprenant les points, les cellules, et les donnees (valeurs profondeur) de notre maillage

vtkPolyDataMapper * pMapper= vtkPolyDataMapper::New( );

vtkCellArray * pCells = vtkCellArray::New(); //Liste des cellules qui vont constituer notre maillage

vtkFloatArray * pScalars = vtkFloatArray::New(); // Liste des valeurs de la profondeurs (sert pour la color map)



Thanks for your answer.

Pômme


</PRE><p style="font-family:arial;color:grey" style="font-size:13px">This message contains information that may be privileged or confidential and is the property of the Capgemini Group. It is intended only for the person to whom it is addressed. If you are not the intended recipient, you are not authorized to read, print, retain, copy, disseminate, distribute, or use this message or any part thereof. If you receive this message in error, please notify the sender immediately and delete all copies of this message.</p><PRE>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20091218/de886fd1/attachment.htm>


More information about the vtkusers mailing list