I created an addon for transfering selected weight to a vertex color group. You can copy the values either as grayscale or color(as shown in weight mode).
I created this addon mostly for rendering purposes however I am sure there are other uses. Basically sometimes it is easier to create masks by selecting some components in edit mode and creating a weight group from the selection. Once done you convert that into vertex colors to use as masks or colors for rendering.
You need to make sure that you at least have one weight and one vertex color group selected. Once done just fire “Weight2VertexCol” command.
Please let me know if you see any bugs, or have feature requests. I have not tested it heavily as of now.
Btw the monkey in the screenshots is a model I have given away free sometime ago. You can download the free blend file from some places on the net. I do not have a direct link though.
Hi!
Great job! I’ve been searching for something like this for some time
I downloaded the python file and installed it, but I can’t seem to find where is it placed in Blender. Should it be used by command line?
I’m using both Blender 2.70 and 2.71 RC
Sorry for bumping into an year old thread, but i’ve just found this today
Nevermind, found it!
Your video runs pretty fast, I had to watch it over and over to find how it works
So if anyone is having the same trouble as me, just press Space button and search for Weight2VertexCol
The reason I’m using it is because i needed to convert some Hair Weight paint to Vertex Colors, so I can use it in the Attribute Node, to help control the glossiness of a cartoon Cat
Trying to use WeightToColor.py in 2.79 and keep getting error message about needing 4 something and only have 3. I’ll try to get a screen shot. Hope you can help, thanks.
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.
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!