<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18812"></HEAD>
<BODY>
<DIV><FONT size=2 face=Arial><SPAN
class=093310909-18122009>Hello,</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN
class=093310909-18122009></SPAN></FONT> </DIV>
<DIV><FONT size=2 face=Arial><SPAN class=093310909-18122009>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.
</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN class=093310909-18122009>What happens, why
the first render is so slow, why is it so more slow to display 16 smalls actors
than 1 big actor?</SPAN></FONT></DIV>
<DIV><FONT size=2 face=Arial><SPAN
class=093310909-18122009></SPAN></FONT> </DIV>
<DIV><FONT size=2 face=Arial><SPAN class=093310909-18122009>Objects used to
create vtk actors are :</SPAN></FONT></DIV>
<DIV><SPAN class=093310909-18122009>
<P><FONT size=2><FONT face=Arial>vtkPoints * pPoints = vtkPoints::New();
</FONT><FONT color=#008000><FONT color=#008000><FONT face=Arial>//Liste des
points du maillage</FONT></P></FONT></FONT></FONT>
<P><FONT size=2><FONT face=Arial>vtkPolyData * pPolyData = vtkPolyData::New();
</FONT><FONT color=#008000><FONT color=#008000><FONT face=Arial>// Objet
comprenant les points, les cellules, et les donnees (valeurs profondeur) de
notre maillage</FONT></P></FONT></FONT></FONT>
<P><FONT size=2 face=Arial>vtkPolyDataMapper * pMapper= vtkPolyDataMapper::New(
);</FONT></P>
<P><FONT size=2><FONT face=Arial>vtkCellArray * pCells = vtkCellArray::New();
</FONT><FONT color=#008000><FONT color=#008000><FONT face=Arial>//Liste des
cellules qui vont constituer notre maillage</FONT></P></FONT></FONT></FONT>
<P><FONT color=#008000><FONT color=#008000 size=2 face=Arial>vtkFloatArray *
pScalars = vtkFloatArray::New(); // Liste des valeurs de la profondeurs (sert
pour la color map)</FONT></FONT></P>
<P><FONT color=#008000><FONT color=#008000 size=2
face=Arial></FONT></FONT> </P>
<P><FONT color=#008000><FONT color=#008000><SPAN class=093310909-18122009><FONT
color=#000000 size=2 face=Arial>Thanks for your
answer.</FONT></SPAN></FONT></FONT></P>
<P><FONT color=#008000><FONT color=#008000><SPAN class=093310909-18122009><FONT
color=#000000 size=2 face=Arial>Pômme</FONT></SPAN></P></FONT></FONT><FONT
size=2 face=Arial> </FONT></SPAN></DIV><pre></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>
</pre></BODY></HTML>