create_curves_outline
into grease_pencil_geom.cc
Ah yes, correct. My point is: it doesn't affect resolution of the straight sections, which is what i would expect when reading "subdivisions".
create_curves_outline
into grease_pencil_geom.cc
Looks good, just have some suggestions for making parameters more intuitive.
create_curves_outline
into grease_pencil_geom.cc
Comments would be good here (see other comments about changing parameters):
create_curves_outline
into grease_pencil_geom.cc
Rename subdivisions
to cap_subdivisions
, since they only affect cap resolution.
create_curves_outline
into grease_pencil_geom.cc
I'm not sure if the keep_shape
argument makes sense. It just makes it ignore the radius_offset
for the actual outline, in that case the radius is only used for the resulting stroke radius. This is confusing, but i just copied what works for GPv2.
This now uses the shared resample_curve_attribute
method, same as the resampling code.
FramesMapKeyIntervalT
for consistency with FramesMapKeyT
I've added a new API function resample_curve_attribute
which is now used both by the resampling and curve interpolation code. It has a mix_weight
factor that allows it to be used for plain…
bDopesheet *ads
parameter