pnm painter modifications

Registered by Hypnos

while playing around with PNMBrush i've encountered a "problem", while the blend mode works fine, the other modes confuse me.

BESet doesnt seem to do anything.
BEDarken: does darken down a area, but it stops at 0.5 (0,1,0,1) darkened by (0,0,0,0) will get you (0,.5,0,.5). i would expect it to go to fully darkened.
BELighten: the same as darken (but reversed of course).

i have only tried working with drawPoint. so i dont know if the other painting tools do it correctly.

i have also seen that painting (BEBlend) with low alpha values dont change anything anymore (im talking about values above 0.01, where it still should change colors).

---

i also have a feature request:
- it would be great if there were more modes. like a smoothing brush (averaging between neighbooring pixels).

Blueprint information

Status:
Not started
Approver:
None
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
None
Definition:
New
Series goal:
None
Implementation:
Unknown
Milestone target:
None

Related branches

Sprints

Whiteboard

Here we are, 4 years later, and its still really limited, quite broken, and undocumented.

I don't even know what BEBlend is supposed to do. With Alpha=1, you can still see through it. It, like all other brush effects, is undocumented, so I don't know if this is a bug.

BEDarken seems broken as mentioned. A bug?

I'll add that BESet seems to make Points invisible, but works for lines. A bug?

I get ugly aliasing when drawing on a transparent image. A bug?

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.

Subscribers

No subscribers.