I’m iteratively drawing an ofMesh of points. But for some strange reason, multiple vertical lines are left blank. Even though the mesh is always completely different at each iteration, the lines always show in the same places, regardless of how many times I run the program.
mesh.clear(); mesh.addVertices(positions); ofSetColor(color); ofFill(); mesh.draw();
Here are some examples of the problem (this is the result of iteratively drawing hundreds of different (evolving) meshes):
These are with Retina (High Resolution Capable) ON:
And this one is with Retina OFF:
The lines are always in the same places, even though they slightly vary depending on retina being on/off.
Any clue as to why this may be happening is most welcome.
I was drawing the points with a loop of
ofDrawRectangle but found that using
ofMesh is 50% faster so it would be great to be able to get rid of these glitches.
Thanks in advance,