Blender Git Loki
Git Commits -> Revision 3eb6649
Revision 3eb6649 by Falk David (master) December 12, 2020, 15:49 (GMT) |
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 |
Commit Details:
Full Hash: 3eb66494539b58d67b1605e76a070a97e910f124
Parent Commit: ae94a39
Lines Changed: +199, -0