Artifacts on transparent 3D pipes


I am applying transparency to a set of 3D of pipes, but I have some artifacts. Please see the example in the attached figure.

The pipes are generated by drawing points on the surface and connecting them with triangles. Do you have any idea why this problem is happening?


it’s usually quite hard to do transparency and depth test at the same time, depending on what you are doing an option is to draw things from nearer to the camera to further but in this case being such complicated objects where part of one can be nearer and other parts further i’m not sure which could be the solution.

anyway, the issue is definitely related with transparency + depth test so google for that and opengl and you’ll probably find a solution