diff options
author | Falk David <falkdavid@gmx.de> | 2020-12-12 18:34:38 +0300 |
---|---|---|
committer | Falk David <falkdavid@gmx.de> | 2020-12-12 18:49:38 +0300 |
commit | 3eb66494539b58d67b1605e76a070a97e910f124 (patch) | |
tree | 47f831795fca869e353c46e6de5008347a3d6275 /source/blender/editors/gpencil | |
parent | ae94a390a72763f2cd1d7108e723d153c549c310 (diff) |
GPencil: Add uniform subdivide BKE to improve interpolation
This patch introduces a new BKE function that performs a uniform subdivide.
The goal of this function is to subdivide the stroke to reach a target number of points while maintaining its shape, color, and weights.
This is done by repeatedly subdividing the longest edge in the stroke. Every subdivision adds a new point at the exact middle point of an edge.
The function is intended to be used in the interpolation operators to give better results when interpolating between different sized strokes.
Reviewed By: antoniov
Differential Revision: https://developer.blender.org/D9835
Diffstat (limited to 'source/blender/editors/gpencil')
0 files changed, 0 insertions, 0 deletions