diff options
author | Antonio Vazquez <blendergit@gmail.com> | 2021-07-02 13:04:07 +0300 |
---|---|---|
committer | Antonio Vazquez <blendergit@gmail.com> | 2021-07-02 13:04:07 +0300 |
commit | 29b65f5345128ee035599aa7233315a74fe6afe6 (patch) | |
tree | 7ba21663688b5eca67c1884a8da5e0aa9a125c64 /source/blender/editors/space_file | |
parent | 9f5c0ffb5ec293af2e4f003c2178d21e20805b47 (diff) |
GPencil: New modifier to generate weights dynamically
his new modifier allows to generate weights base on:
* Angle of the stroke relative to object or world orientation. For example, if the value is 90, the maximum weights will be for vertical lines and minimum for horizontal lines.
* Distance to Target object. The distance calculated is normalized to get valid weights between 0 and 1.0.
The weights are created in an existing vertex group and the data can be replaced or mixed with the existing value to combine different weight effects. The minimum parameter, allows to define the minimum weight generated. This is useful to avoid very low weights.
The generated weights can be used in any modifier. For example, the angle weight value can be used to mimic FreeStyle Caligraphy modifier using the weight with the thickness modifier.
Also some modifier has been changed to inlude a new option to use the weights as factor of the effect.
As result of this change, the fading option has been removed from Thickness and Opacity modifiers because this can be done using the new modifier, it's not logic to repeat the same.
Reviewed By: mendio, filedescriptor
Differential Revision: https://developer.blender.org/D11604
Diffstat (limited to 'source/blender/editors/space_file')
0 files changed, 0 insertions, 0 deletions