Hi everyone,
I’ve met a problem when trying to adjust two mesh display order. In the past I just use setRelativeCoincidentTopologyPolygonOffsetParameters and setRelativeCoincidentTopologyLineOffsetParameters to set the display order of two meshes on their mappers, but when I changed the display of the mesh to show its wireframe(using setEdgeVisibility on actor), the wireframe seems to be mixed up with the polygon rendering like this:
I’ve checked the default params to see the default param for polygon and line is 0 and -1, so I tried set new params to be -1 and -2 but it does not work, stlll the same as param -2 and -2. I have tried other sets but they all do not work as expected.
How should I set the offsets or other params to achieve this? Below is the current situation, if the right part, the mixed ups could be solved it will be ok.
You might want to check if the problem is due to “edges” or “lines”.
How about you add all those triangle edges as lines in your polydata to see if you still have the same problem. If so, maybe the edges are handled slightly differently than lines and therefore the parameters do not apply the same way.