Hello,
I have created a set of faces. To allow switching to a wrieframe representation, I have added a "indexedFaceSetFactory.setGenerateEdgesFromFaces(true);". But when I switch from colored faces to wireframe (via Appearance), all lines are blue, the colors are lost. I think, I have to call also "indexedFaceSetFactory.setEdgeColors(colors);"
Is there an easy way to reuse the colors of the faces for the generated edges, or do I have to create these colors manually?
Thanks and best regards, Joe
Auto-generate edge colors from face colors?
Re: Auto-generate edge colors from face colors?
Hi Joe,
I don't see canonical colors for edges derived from face colors. What you probably want is holes in the faces so you may want to have a look into the IndexedFaceSetUtility.implode() method.
Stefan
I don't see canonical colors for edges derived from face colors. What you probably want is holes in the faces so you may want to have a look into the IndexedFaceSetUtility.implode() method.
Stefan