Blender Git Loki

Blender Git commits from all branches.

Page: 577 / 2888

Revision e7f75a3 by Antonio Vazquez (temp-gpencil-interpolate)
January 5, 2021, 16:19 (GMT)
Merge branch 'master' into temp-gpencil-interpolate
Revision e01fb74 by Antonio Vazquez (greasepencil-object)
January 5, 2021, 16:17 (GMT)
Merge branch 'master' into greasepencil-object
January 5, 2021, 15:56 (GMT)
Starting the unit tests
January 5, 2021, 10:01 (GMT)
Tracking: Expose track average in the menu

Patch by Sebastian Koenig, thanks!
January 5, 2021, 09:47 (GMT)
Tracking: Tweak order of pivot and proportional editing

Matches other editors. Was a mistake in the original code.

Patch by Sebastian Koenig, thanks!
January 5, 2021, 09:26 (GMT)
Tracking: Fix wrong interpolation at the end of markers array
January 5, 2021, 08:50 (GMT)
Tracking: Add interpolated accessor for markers

Allows to get marker position interpolated through out a gap.

Currently unused, but is covered with test. Aimed to be used for
track average operator.
January 5, 2021, 08:50 (GMT)
Tracking: Implement tracks average operator

Average selected tracks into the new one. This can be used to improve
stability of tracking on blurry or non-very-sharp feature shapes.

Averaging happens for all position, pattern corners and search area.
Disabled markers do not take effect on averaging. Keyframed flag is
copied from source.

Gaps in the source tracks will be linearly interpolated, to reduce
result track jump. Note that this only applies to gaps "inbetween".
This means that if an input track doesn't have markers in the
beginning/end of it, there is nothing to interpolate with and the
result track will jump.

Available from the Track panel, under the Merge category.

Differential Revision: https://developer.blender.org/D6323
January 5, 2021, 08:49 (GMT)
Tracking: Simplify transform code

Reduce amount of duplicated pointer offset logic: advance transform
data pointers deep in the loop rather than have offset duplicated in
the outer loop.

Array size calculation still has duplicated, but that is another story.
January 5, 2021, 08:49 (GMT)
Tracking: Re-duplicate logic used to count and initialize data

Allows to easily implement more comprehensive checks about which
markers get added to the transformation context.

No user measurable changes are expected, purely house-keeping to
ease an upcoming development.
January 5, 2021, 08:49 (GMT)
Tracking: Fix wrong projection for post-draw pass

Allows to draw proportional editing circle at a proper location.
January 5, 2021, 08:49 (GMT)
Tracking: Implement proportional editing

Disclaimer: the user interface and interaction is not final. There
are known sharp corners, which are planned to be addressed while
the patch is being tested by people.

The idea is to avoid sudden jumps of track path when artists detects
track got slid away from the feature and one re-positions track back.
The implementation is based on a proportional editing, which allows
to control whether to transform single marker or whether to propagate
transform to markers from neighbour frames. The proportional editing
also allows to control propagation curve. The propagation will stop
at the end of tracked segment.

To test the new functionality:

1. Enable proportional editing
2. Enable "Connected Only". This is essential, as otherwise the new
functionality is not enabled.
3. Grab marker.

Open topics:
- Make the functionality more discoverable.
- Make visualization of how far propagation goes more clear.
- Make defaults more usable.

Technical TODO:
- Most likely CANCEL of the transform does not properly restore the
full state prior to the transform. This needs to be solved.

Differential Revision: https://developer.blender.org/D2771
January 5, 2021, 04:14 (GMT)
Remove asserts in versioning and use non type specific reading
January 5, 2021, 01:30 (GMT)
Fix errors in docstrings and make indentation consistent
January 5, 2021, 01:23 (GMT)
Fix typo in error message
January 5, 2021, 01:22 (GMT)
Use `int_from_py_int_or_double` function
January 5, 2021, 01:21 (GMT)
Rename `check_ui_data_value` to `pyobject_can_convert_to_number`
January 5, 2021, 01:19 (GMT)
Support booleans as inputs for UI data
January 5, 2021, 01:01 (GMT)
Add NULL check in string default access
January 5, 2021, 00:58 (GMT)
Add a `max_len` argument to RNA_property_string_get_default
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021