Toxiclibs TriangleMesh question: how do I make the edges invisible
in
Contributed Library Questions
•
1 year ago
Hey All,
Quick question. I've got a triangleMesh built in Toxiclibs. I'm using P3D as the render mode. No matter what I try I can't get the edges of the mesh to disappear. I've tried calling noStroke() and setting the stroke color to be the same as the face color.
I've got some basic lighting in place:
shininess(1);
ambientLight(255, 255, 255);
directionalLight(255, 255, 255, 0, 1, 0);
Below is an image of what it looks like with the following code:
- for (ExtrudedPolygon eFace : extrudedFaces) {
- fill(255, 166, 0);
- // stroke(255, 166, 0);
- noStroke();
- gfx.mesh(eFace.mesh);
- noFill();
- stroke(0);
- }
Any advice for how to get rid of these lines?
Thanks!
1