@Kaito_Kid wrote:
I have this specific of3dPrimitive, and I would like to draw only some specific faces.
I am using this:
for (auto face : prim->getMesh().getUniqueFaces()) { if (shouldDrawThisFace(face)) { ofSetColor(face.getColor(0)); // How to draw this face? } }
How could I draw an instance of OfMeshFace instead of drawing all the faces of an ofMesh with ofMesh::draw() or ofMesh::drawFaces()?
Posts: 1
Participants: 1