Open philbit opened 1 year ago
This is a limitation of Cairo, which can only draw mesh patterns triangle per triangle, so you're bound to get artifacts at the edges with alpha. In the future, we would like to implement a software renderer that draws meshes to a bitmap more like GLMakie would.
Thanks for the information. It's a pity it's not simply a bug ;), but I understand the limitation. Software rendering would be great!
There are also some attempts to insert GLMakie rendered plot objects into CairoMakie vector graphics, maybe that would be an option in the future.
When plotting meshes with transparency, line artefacts appear where the triangles are touching.
MWE:
Result:
It looks similar to issue #2469, which, as far as I understand, was resolved by not plotting as a mesh. But what if we need to explicitly draw a mesh? Is there a different way I am missing?
This is with CairoMakie 0.10.4.