Texture image of bone weights

MakeHuman python API, python plugins, etc

Moderator: joepal

Texture image of bone weights

Postby AndyM » Mon Oct 05, 2015 9:59 am

I am working on an extension of the Skeleton Debug Plugin (debugtab.py). For that I would need a texture image of the calculated bone weight colors.
I understand how the weights are converted into colors and assigned to the mesh. Also I found the UV mapping.
But I can not figure out how the texture image is calculated from this?
AndyM
 
Posts: 9
Joined: Fri Jun 05, 2015 12:12 pm

Re: Texture image of bone weights

Postby duststorm » Mon Oct 05, 2015 2:15 pm

I'm not using a texture for it, I'm using vertex colors, that I either enable as diffuse color in the fixed function pipeline, or pass to the shader (the shaders multiply the diffuse color with the vertex color, interpolated per texel).
MakeHuman™ developer
User avatar
duststorm
 
Posts: 2569
Joined: Fri Jan 27, 2012 11:57 am
Location: Belgium


Return to Python scripts

Who is online

Users browsing this forum: No registered users and 1 guest

cron