<!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> </DIV>
<DIV><FONT face=Arial size=2> I'have the follow pipeline:</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> vtkPolyData
*pd=vtkPolyData::New();<BR> vtkPoints *points=vtkPoints::New();
//punti<BR> vtkCellArray *polys=vtkCellArray::New();
//poligoni</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> vtkUnsignedCharArray
*colorUA=vtkUnsignedCharArray::New();</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial
size=2> colorUA->SetNumberOfTuples(nv);<BR> colorUA->SetNumberOfComponents(3);</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>....</FONT></DIV>
<DIV><FONT face=Arial size=2>...</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial
size=2> pd->SetPoints(points);<BR> pd->SetPolys(polys);<BR> pd->GetPointData()->SetScalars(colorUA);<BR> pd_collection->AddItem(pd);</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2> vtkDecimatePro *deci=vtkDecimatePro::New();
//smooth->GetOutput()<BR> deci->SetInput(pd);<BR> deci->SetTargetReduction(0);<BR> deci->PreserveTopologyOff(); <BR></FONT></DIV>
<DIV><FONT face=Arial size=2> vtkPolyDataNormals
*pdn=vtkPolyDataNormals::New();<BR>
deci->SetTargetReduction(0.2);<BR> pdn->SetInput(deci->GetOutput());</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2> vtkPolyDataMapper *mapPD =
vtkPolyDataMapper::New();<BR> mapPD->SetInput(pdn->GetOutput());<BR> mapPD->ScalarVisibilityOn();<BR></FONT></DIV>
<DIV><FONT face=Arial size=2> vtkActor *actorPD =
vtkActor::New();<BR> actorPD->SetMapper(mapPD);<BR> actorPD->GetProperty()->SetAmbient(0.3);
<BR> actorPD->GetProperty()->SetDiffuse(0.0);
<BR> actorPD->GetProperty()->SetSpecular(0.0); </FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial
size=2> renderer->AddActor(actorPD);<BR> </FONT><FONT face=Arial
size=2>renderer->SetBackground(0,0,0);<BR> renderer->ResetCamera();<BR> </FONT></DIV>
<DIV><FONT face=Arial size=2>
renWin->Render();</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>it's function well only for object with a
triangle's number < 1.000.000</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </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> </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> </DIV>
<DIV>Can anyone help me ?<BR>Thanks,<BR></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV></BODY></HTML>