We are about to switch to a new forum software. Until then we have removed the registration on this forum.
In the app that I am writing, I draw numerous curves, each composed of numerous lines. When the number of lines reahes a certain level, the sketch starts lagging terribly. Hence, I decided to swith the renderer and started using P3D. Problem solved - no lags at all. However, new problem:
Lines in P3D only appear in rectangular mode. This means that, at places where the curve turns a lot, which is the case almost evrywhere, you can see holes between the lines, revealing that the curve is actually a set of lines, not a curve on its own, and making the sketch look considerably ugly.
I have trid using beginShape(), vertex() and endShape(), whith no success. The strokeJoin() and strokeCap(), according to the documentation and, as evidenced from this example, do not work with P3D.
Can you think of a way to get around this problem? It seems pretty easy in nature but I cannot solve it and it destroys my entire sketch.
Thanks in advance!