[vtkusers] [NonLinearSubdivisionLevel] issue with quadratic meshes related to non-symmetric rotating triangulation algorithm

Eloi Gaudry Eloi.Gaudry at fft.be
Thu Jan 9 04:40:05 EST 2014


Hi,

I'm sending a small reproducer (made of a quadratic hexaedron element connected to a quadratic wedge ) for the following bug : depending on the orientation of the elements, the triangulation algorithm failed to delivers an input usable by the surface mapper with a NonLinearSubdivisionLevel >=1:

-          for a value of 0, the external boundaries are displayed correctly,

-          for a value of 1, the shared faces/nodes between the hexaedron and the wedge is displayed as an external boundary (i.e. the shared faces are considered different whereas they are based on the same nodes.)

-          for a value of 2 and more, the subdivision leads to a buggy on-screen representation.

The first file (*_ok.vtk) will show the expected behavior for a NonLinearSubdvisionLevel value of 0 and 1.
The second file (*_ko.vtk) will show the incorrect behavior for a NonLinearSubdvisionLevel value 1.

If you look at the subelements used for dividing each faces of the hexaedron and the wedge (with a surface mapper and an opacity of 0.5 for instance), you will notice a mismatch between the ones created on the hexaedron and the ones created on the wedge. This leads to an incorrect vizualisation of an unshared face between both cells...

Are you aware of this issue (present in 5.10.1 version at least and still there in 6.1.0.rc1) ?
Can this easily be fixed (the behavior seen in 5.6.1 is correct for a NonLinearSubdivisionLevel value-like of 1) ?

Regards,
Eloi

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20140109/0c3b25a0/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: reproducer_surface_mapper_quadratic_interpolation_ko.vtk
Type: application/octet-stream
Size: 757 bytes
Desc: reproducer_surface_mapper_quadratic_interpolation_ko.vtk
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20140109/0c3b25a0/attachment.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: reproducer_surface_mapper_quadratic_interpolation_ok.vtk
Type: application/octet-stream
Size: 784 bytes
Desc: reproducer_surface_mapper_quadratic_interpolation_ok.vtk
URL: <http://www.vtk.org/pipermail/vtkusers/attachments/20140109/0c3b25a0/attachment-0001.obj>


More information about the vtkusers mailing list