What version of Blender do you use?
This is a feature in 2.79 from buildbot. In Vertex Paint mode you search (from Space Bar): “Vertex Color from Weight”.
But if your project is using official Blender release, if you use Blender from buildbot you save your project with a different name, because it can modify your work, for example by adding new Displacement node.
2.79.6 I think it is an official release. I just tried what you said and in Vertex mode from the space bar ended up with an all black object. Is that the intended result? Thanks for your quick response.
Well, we need to see the exact message to determine the issue.
Are you sure about your mesh having Weight Paint data with weights other than 0 somewhere?
I downloaded 2.79b and WeightToColor.py runs but all I get is a black mountain. I am trying to use the weight paint colors and convert them to a vector mask. The mountain is a ANT landscape with erosion.
Success! Thank you for your help, YAFU. Now things are working correctly. I had missed a few steps in setting up the erosion. Still needed 2.79b though.
I’m not sure if it was the 2.79 Blender builds I was using that wouldn’t work or my own ineptness dealing with a new project. The stable version of 2.79b works fine with the new version of WeightToColor.py. Thank you very much!
Hi! I’ve updated the addon for 2.80, I’m not a programmer, just an artist… so errors are expected…
WeightToColor28.zip (1.6 KB)
Hey thanks for the update. I hope others enjoy it too.
Hey guys! is there any way this can be modified to do the opposite? to get the vertex colors to be transferred to weights? I’m thinking it would be extremely useful for stuff like controlling displacement maps and so on using dirty vertex colors
Thanks for this very useful addon who should be by default in blender in my opinion.
Could you tell me what is the track of the first video please Shazam doesn’t find anything … ?
Thank you by advance
i dont know how to download/install it. is there a release link?
There is a link in this post for Blender 2.8 (didn’t try it though).
There is also a feature in Blender that converts Weight Paint to Vertex colors:
- Do a weight paint
- Go in Vertex Paint mode > Menu on top: Paint > Vertex Color from Weight.
Also, the Tissue addon (build in) has this feature: When you are in Weight Paint mode, go to the Tissue addon > Convert to Colors
I wrote this add-on 7 years ago and people are still interested in it. it sounds like BF devs has seen the interest in such feature.
As Peetie noted weights to vertex color now exists in 2.9x
How come no one needs it the other way around? I need Dirty Vertex Color, but as Vertex Group to be used with modifiers.
You can use Geometry Nodes to convert them.
Thanks for the tip. Turns out I already had an addon that makes it easy - Vertex Color Master.
Is it possible to do Vertex color to Vertex group?
This addon is used to convert weights to colors. You can use Geometry Nodes to convert a vcol to a vgroup.