[vtkusers] Memory usage increased after vtkDecimatePro filtering??
apbai at yahoo.com
Fri Apr 4 15:09:22 EST 2003
I've been playing with vtkDecimatePro lately in my
project. I can clearly see from the rendering result
that the number of triangles are reduced a lot. But to
my surprise, I noticed that the memory usage was
actually increased comparing to not doing decimation.
I'm using vtk 4.2 with VC++ 6.0 on Windows NT. Here's
what my code looks like -
// someline is a huge and complicated line polydata
vtkTubeFilter* tube = vtkTubeFilter::New();
vtkTriangleFilter* triangleFilter =
vtkDecimatePro* decimate = vtkDecimatePro::New();
Did I do any wrong?
Do you Yahoo!?
Yahoo! Tax Center - File online, calculators, forms, and more
More information about the vtkusers