Selecting the Edge Wear Geometry from LABS Edge Damage

   1281   1   0
User Avatar
Member
7 posts
Joined: Aug. 2019
Offline
Hello again,
I'm wanting to lay out the UVs for the geometry created from LABs Edge Damage tool separately from the rest of the mesh. To do this, I want to procedurally select the primitives that are generated on the edges. There is a 'visualize damage' checkbox that turns the edge wear geo red, so I thought that I could just select all red primitives, but this isn't working. Does anyone have a suggestion as to how I would select the edge wear geo created by this tool?
Edited by DG IT - Sept. 15, 2023 04:40:14

Attachments:
help1.png (589.8 KB)

User Avatar
Member
7 posts
Joined: Aug. 2019
Offline
My senpai helped me find a way.

Turns out that the edge damage node was not editable, which seemed to be affecting the ability of other nodes to read the color information coming out of it.
The whackiest, most counterintuitive part of this problem was the fact that in order to select the color red in expressions, you can't say 'red = 1'. This is because red is also present in white in additive color theory, and will select any whites or greys or hues that have red value. Instead, to select red, one has to specify 'green = 0' and 'blue = 0'. The complete absence of green and blue leaves red. This was a curveball.
Once I made the edge damage node editable and asked for all primitives without blue or green values to be selected, I got the results I wanted.

Attachments:
help2.png (9.9 KB)
help3.png (646.4 KB)

  • Quick Links