I want to use a black and white logo image and convert it to a weight map for using in the Botaniq plant scattering addon. It allows you to paint a weight map where you want plant assets to go but i’d like to use an image source instead. is there a way to convert or perhaps bake an image texture to a weight/vertex map?
Not 100% sure but I don’t recall a way to do that by default.
It’s not that complicated to do either. Probably some addon may allow that.
Or, using geometry nodes, you can take an image as an input, map it according to UV, and export that to an attribute. By applying the modifier you should have the vertex map that you need.
Easy to say, maybe a bit challenging if you didn’t look into GN yet.
Maybe someone is willing to test it for you…
i’m afraid i’m not versed in geometry nodes. would be glad to try if someone could lay out the process clearly. Or if someone knows an addon that does this let us know.
If you do not want to deal with geonodes, there is modifier-based hack to do it. Create 2 groups, I called them “target”(A) and “source”(B). Assign all vertices in the mesh to A with weight of zero, and also all of them to B with weight of 1.0. Then add Vertex Weight Mix modifier, specify both groups, change Vertex Set to “Vgroup A”, mix mode to "Add’, and assign your mask texture in Influence submenu