Crash in subdivision filters

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Crash in subdivision filters

RobertS
Im working with subdivision filters and there is a reproducible case where both vtkLoopSubdivisionFilter and vtkButterflySubdivisionFilter crash.

Try the example at http://www.vtk.org/Wiki/VTK/Examples/Cxx/Meshes/Subdivision and modify it that the sphere has higher number of triangles by adding lines
sphereSource->SetPhiResolution(500);
sphereSource->SetThetaResolution(500);

before
sphereSource->Update();

After that, vtkLinearSubdivisionFilter works fine but both other filters crash.
This happens in both 7.1.1 and master version, in windows and in linux

Robert