Reversed triangles in vtkPolyData created from points and cells

Hi Paulo,
Thanks for reply. As I said, initially I thought it’s the order problem. ie

 cells->InsertNextCell(GetTriangle(4, 2, 3));
 cells->InsertNextCell(GetTriangle(4, 0, 2));

these 2 lines produce reversed triangles. The vertices are in counter-clockwise order. So if I reverse the vertices of these 2 triangles

 cells->InsertNextCell(GetTriangle(3, 2, 4));
 cells->InsertNextCell(GetTriangle(2, 0, 4));

the vertices are in clockwise order. But this produces the exact same result.