Replies: 3 comments 5 replies
-
|
I am not sure, but it might be that this code is necessary to allow highlighting with the mouse-over movement. When you hover the cursor over an edge or face, these are highlighted and a small window with an Edge Index or Face Index appears. I don't think that you can permanently colour faces or edges differently in the viewer. |
Beta Was this translation helpful? Give feedback.
-
|
Faces used to highlight individually before I batched them all into the same mesh (since .stl's are tens of thousands of triangles, which were all individual faces with individual drawcalls). Per-face preview highlighting needs that fork of Is there a use-case enabled by this visual affordance? |
Beta Was this translation helpful? Give feedback.
-
|
// custom handler face }); |
Beta Was this translation helpful? Give feedback.

Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
This code section allows for highlightable edges. How to achieve highlightable faces?
Something like this:

Beta Was this translation helpful? Give feedback.
All reactions