<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2600.0" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Hello vtk users</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;I'have the follow pipeline:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;vtkPolyData 
*pd=vtkPolyData::New();<BR>&nbsp;vtkPoints *points=vtkPoints::New(); 
//punti<BR>&nbsp;vtkCellArray *polys=vtkCellArray::New(); 
//poligoni</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;vtkUnsignedCharArray 
*colorUA=vtkUnsignedCharArray::New();</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial 
size=2>&nbsp;colorUA-&gt;SetNumberOfTuples(nv);<BR>&nbsp;colorUA-&gt;SetNumberOfComponents(3);</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>....</FONT></DIV>
<DIV><FONT face=Arial size=2>...</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial 
size=2>&nbsp;pd-&gt;SetPoints(points);<BR>&nbsp;pd-&gt;SetPolys(polys);<BR>&nbsp;pd-&gt;GetPointData()-&gt;SetScalars(colorUA);<BR>&nbsp;pd_collection-&gt;AddItem(pd);</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;vtkDecimatePro *deci=vtkDecimatePro::New(); 
//smooth-&gt;GetOutput()<BR>&nbsp;deci-&gt;SetInput(pd);<BR>&nbsp;deci-&gt;SetTargetReduction(0);<BR>&nbsp;deci-&gt;PreserveTopologyOff();&nbsp;<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;vtkPolyDataNormals 
*pdn=vtkPolyDataNormals::New();<BR>&nbsp; 
deci-&gt;SetTargetReduction(0.2);<BR>&nbsp;&nbsp;pdn-&gt;SetInput(deci-&gt;GetOutput());</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>&nbsp;vtkPolyDataMapper *mapPD = 
vtkPolyDataMapper::New();<BR>&nbsp;&nbsp;mapPD-&gt;SetInput(pdn-&gt;GetOutput());<BR>&nbsp;&nbsp;mapPD-&gt;ScalarVisibilityOn();<BR></FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;vtkActor *actorPD = 
vtkActor::New();<BR>&nbsp;&nbsp;actorPD-&gt;SetMapper(mapPD);<BR>&nbsp;&nbsp;actorPD-&gt;GetProperty()-&gt;SetAmbient(0.3); 
<BR>&nbsp;&nbsp;actorPD-&gt;GetProperty()-&gt;SetDiffuse(0.0); 
<BR>&nbsp;&nbsp;actorPD-&gt;GetProperty()-&gt;SetSpecular(0.0); </FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial 
size=2>&nbsp;renderer-&gt;AddActor(actorPD);<BR>&nbsp;</FONT><FONT face=Arial 
size=2>renderer-&gt;SetBackground(0,0,0);<BR>&nbsp;renderer-&gt;ResetCamera();<BR>&nbsp;</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; 
renWin-&gt;Render();</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>it's function well only for&nbsp;object with a 
triangle's number &lt; 1.000.000</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>For bigger file (with most triangles) the pipeline 
render only a part of object 3d unless i decimate the object.</FONT></DIV>
<DIV><FONT face=Arial size=2>This problem isn't present if I disable the 
accellerator 3d graphic card (but of course the performance in the object moving 
decrease).</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I have an nvdia ge force 4 ti 4600 graphic 
card.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV>Can anyone help me ?<BR>Thanks,<BR></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV></BODY></HTML>