[Bf-python] Mesh Colors

Joe Eagar joeedh at gmail.com
Wed Sep 27 19:18:35 CEST 2006


Campbell Barton wrote:
> Chris Want wrote:
>> Campbell Barton wrote:
>>> Hi All, I was looking at making MCols (mesh color) sequencable-
>>> so one could do-
>>>
>>> r,g,b= face.col[0]
>>>
>>> rather then
>>>
>>> r= face.col[0].r
>>> g= face.col[0].g
>>> b= face.col[0].b
>>>
>>> But this let be to wonder what the alpha value did. as far as I can 
>>> tell its only ever used for the vertex paint code to work woth soft 
>>> brushes (verts that are further away get a lower alpha), nowhere 
>>> else can I see it being used.
>>>
>>> Could we remove access to the alpha value since (AFAIK) it has no 
>>> practicle use?
>>>
>>> - Cam
That doesn't make any sense. . .you shouldn't need to use alpha for soft 
brushes, the code as it is *should* be simply blending the colors 
further out like everything else.

This is very weird. :S

Joe



More information about the Bf-python mailing list