MantisBT - VTK | |||||
| View Issue Details | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update |
| 0009000 | VTK | (No Category) | public | 2009-05-11 12:17 | 2016-08-12 09:55 |
| Reporter | Andy Turner | ||||
| Assigned To | Kitware Robot | ||||
| Priority | normal | Severity | major | Reproducibility | always |
| Status | closed | Resolution | moved | ||
| Platform | OS | OS Version | |||
| Product Version | |||||
| Target Version | Fixed in Version | ||||
| Project | |||||
| Type | |||||
| Summary | 0009000: vtkQuadricDecimation filter produces bad geometry in output | ||||
| Description | vtkQuadricDecimation filter can introduce non-manifold faces and isolated vertices (i.e. unused vertices which have not been removed by edge collapsing process). The problem arises when decimating particular polydata meshes. I do not have one small enough to upload, but it happens consistently. | ||||
| Steps To Reproduce | |||||
| Additional Information | The problem arises because of removing a particular configuration of edges. Say that you've got three triangles with vertex indices:- (0,1,3), (1,2,3), (0,3,2) There are 6 choices of edge to collapse; if edges (0,2) is collapsed, faces (0,1,3) and (1,2,3) become faces (0,1,3) and (1,3,0), i.e. they are back-to-back. One of these faces is subsequently removed, leaving a non-manifold triangle. (I'm not sure how this also leads to isolated vertices, but it seems to). This problem can be avoided by checking for such configurations of edges/faces prior to collapsing the edges. If the configuration is found, the edge is pushed back into the priority queue. The check for this is:- * For each of the cells using edge E, the edge to be collapsed:- * (Call these cells the "base" cells) * Get all of the neighbouring cells * Get all of the "far" vertices of these neighbouring cells (i.e. the vertices which are not in common with the "base" cell) * If any of the far vertex indices appear in more than one of the neighbouring cells (i.e. cell A's far vertex = cell B's far vertex), edge E must not be collapsed. Please find attached a quick and dirty patch to perform this check. | ||||
| Tags | No tags attached. | ||||
| Relationships | |||||
| Attached Files | https://www.vtk.org/Bug/file/7230/vtkQuadricDecimation.patch https://www.vtk.org/Bug/file/7245/vtkQuadricDecimation.2.patch https://www.vtk.org/Bug/file/7271/example_vtkQuadricDecimation_fails_target_reduction_0.85.vtk | ||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2009-05-11 12:17 | Andy Turner | New Issue | |||
| 2009-05-11 12:17 | Andy Turner | File Added: vtkQuadricDecimation.patch | |||
| 2009-05-11 12:23 | Andy Turner | Note Added: 0016375 | |||
| 2009-05-14 06:00 | dbarbier | Note Added: 0016422 | |||
| 2009-05-14 06:46 | Andy Turner | Note Added: 0016423 | |||
| 2009-05-14 06:47 | Andy Turner | Note Edited: 0016423 | |||
| 2009-05-14 09:51 | dbarbier | Note Added: 0016430 | |||
| 2009-05-14 10:51 | Andy Turner | File Added: vtkQuadricDecimation.2.patch | |||
| 2009-05-14 10:53 | Andy Turner | Note Added: 0016439 | |||
| 2009-05-26 12:16 | Bryn Lloyd | File Added: example_vtkQuadricDecimation_fails_target_reduction_0.85.vtk | |||
| 2009-05-26 12:22 | Bryn Lloyd | Note Added: 0016567 | |||
| 2011-06-16 13:11 | Zack Galbreath | Category | => (No Category) | ||
| 2016-08-12 09:55 | Kitware Robot | Note Added: 0037075 | |||
| 2016-08-12 09:55 | Kitware Robot | Status | expired => closed | ||
| 2016-08-12 09:55 | Kitware Robot | Resolution | open => moved | ||
| 2016-08-12 09:55 | Kitware Robot | Assigned To | => Kitware Robot | ||
| Notes | |||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||
|
|
|||||
|
|
||||