Page MenuHome

Weight painting on Grease Pencil object with falloff problems
Closed, ArchivedPublic

Description

System Information
Operating system: OSX 10.14.3
Graphics card: NVIDIA GeForce GTX 780M

Blender Version
Broken: 2.80 Date: 2019-03-06 23:12 Hash:a070815d127e
Worked: (optional)

Short description of error
Strange falloff behaviour with weight painting on Grease Pencil objects with mouse and tablet

Exact steps for others to reproduce the error

  • create grease pencil object
  • switch to Weight Paint mode
  • select weight tool
  • falloff seems to work with all radius and strength settings
  • changing the weight value to 0
  • falloff doesn't work anymore

additional quirk:

  • the strength value has to be really low to work properly with falloffs -> under 0.1

Details

Type
Bug

Related Objects

Event Timeline

Sebastian Parborg (zeddb) triaged this task as Confirmed, Medium priority.

Not sure if you are talking of this "weight" parameter.

But, if you set this value to 0, then you cannot paint, because this is the target weight, that means that you are trying to paint a weight of zero, and this does nothing.

Maybe, I understood wrongly your problem.

The weight painting falloff should be similar in both directions. A weight value of 0 should falloff towards red and a weight value of 1 should falloff towards blue.

I see what you mean now... I will take a look.

@Thomas Kress (AnimationXYZ) Looking at the code and how it's designed this cannot be consider a bug and I explain why.

The weight parameter is the maximum value you can use for the weight, if you set to 0.5, the maximum value will be that. If you set to 0, means, you want a maximum value of 0.

In order to do what you want, it's very simple. Set the target value to 1 (to allow values greater than 0) and simply press CTRL key while you are drawing to "subtract" weights. You will see that weights are using the falloff because you have a maximum value with "something" and subtract weights with the painting process. Of course you could set weight to 0.5 and falloff from 0.5 to 0.

I think all this is related to a misunderstanding of what the weight parameter means... maybe we need clarify tooltip.

@William Reynish (billreynish) Could you review the tooltip of this parameter in rna_sculpt_paint.c parameter "weight" (line 1423)?

Maybe, we could include a better descriptive text of what is doing this parameter.

Maybe, something like "Maximum weight value allowed as target. Any value above will be clamped"

I see.
I think the first thought is - i am in a kind of visual painting mode environment and i am dealing with some colors from blue to red - i am using a brush tool and expect the behaviour of usual painting processes.

Thanks

Yes, but weight paint is not a "real" paint... it's an add/substract value process.

We can close the task report and reopen it if we need it in the future.