Edge rendering issues

Hi there,

I’m struggling with the following problem - model edges are not rendered properly in concave regions. Is there something I’m missing here (like a setting that can be tuned) or is it some kind of an intrinsic limitation?

For completeness I attach the vtkjs scene:
94c1ac82-cf36-11eb-af7f-00e04c680268.zip (3.8 KB)

Best,
Adam

Have you tried playing with ResolveCoincidentTopology on the mapper ?

1 Like

Thanks! With mapper.setResolveCoincidentTopologyToPolygonOffset(); it does get better (see below), but some other glitches become visible. Do you have any idea how to get rid of them?

You need to play with the resolve coincident topology parameters

1 Like

Indeed thanks, this did the trick for me:

mapper.setResolveCoincidentTopologyToPolygonOffset();
mapper.setResolveCoincidentTopologyPolygonOffsetParameters(0.5,100);

I’m not sure what exactly it means, but it seems to be working in my use case.