I’ve previously written a tool to paint vertex colors with distance-based color attenuation, tapping into Maya’s soft-selection UI to provide visualization and controls. I’m now looking at a similar problem, where the functionality to attenuate color values is based on distance as measured across the surface of a mesh from the selected vertices.
I’ve got some ideas I’m toying with, but I thought I’d tap into the greater tech art hive brain to see what thoughts you fine folks have about the problem. I have the surrounding tech all worked out, I’m using Maya API to batch apply vertex colors to greatly improve performance, I have all the color attenuation stuff written out and ready to rock and roll. Mostly just trying to explore high-performance ways of calculating the distance between vertices across the mesh surface.
Thanks in advance!