Page MenuHome

Vertex alpha painting
Closed, InvalidPublicPATCH

Description

I created a patch which enables editing the alpha channel of vertex colors in the vertex paint mode. For this I had to extend the MeshColor and MeshLoopColor to four channels to store alpha values. Then I introduced another blend mode (set alpha) to the vertex paint editor. I used Brush.alpha (which is also used for intensity and pen pressure I guess) for setting the alpha values instead of extending Brush.rgb to Brush.rgba which I tried first but noticed it was too much trouble.
I implemented OpenGL rendering for solid and textured shading for immediate and VBO mode. But because of transparency I still need to sort the triangles depending on the view. Does functionality already exists which I could use for that?

Revisions and Commits

Abandoned

Event Timeline

Fabio Arnold (donfabio) raised the priority of this task from to 90.
Fabio Arnold (donfabio) updated the task description. (Show Details)
Fabio Arnold (donfabio) edited a custom field.
Julian Eisel (Severin) lowered the priority of this task from 90 to Normal.Nov 24 2014, 5:54 PM

I would love to see this in master it would help a lot in my current project.

Please merge it.

Campbell Barton (campbellbarton) changed the task status from Unknown Status to Unknown Status.Feb 25 2015, 12:38 PM

Prefer not to keep both task & diff open unless there is really need for design-discussion / code-review separation.

In this case prefer to keep discussion in the differential.