Page MenuHome

Vertex alpha painting
Closed, ArchivedPublic

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?

Details

Differential Revisions
D911: Vertex alpha painting
Type
Patch

Event Timeline

Fabio Arnold (donfabio) set Type to Patch.
Fabio Arnold (donfabio) created this task.
Fabio Arnold (donfabio) raised the priority of this task from to Needs Triage by Developer.
Julian Eisel (Severin) triaged this task as Normal priority.

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

Please merge it.

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.