Age | Commit message (Collapse) | Author | |
---|---|---|---|
2019-12-24 | Fix T72402: Decimate f-curves fails with co-linear key-frames | Campbell Barton | |
2019-04-17 | Cleanup: use 2 space indentation for CMake | Campbell Barton | |
2019-04-14 | CMake: prepare for BLENDER_SORTED_LIBS removal | Campbell Barton | |
No functional change, this adds LIB definition and args to cmake files. Without this it's difficult to migrate away from 'BLENDER_SORTED_LIBS' since there are many platforms/configurations that could break when changing linking order. Manually add and enable WITHOUT_SORTED_LIBS to try building without sorted libs (currently fails since all variables are empty). This check will eventually be removed. See T46725. | |||
2019-04-11 | curve_fit_nd: fix assert caused by too small epsilon | Campbell Barton | |
Curve decimate would assert in some cases. | |||
2019-02-18 | doxygen: update doxygen & add balembic group | Campbell Barton | |
2018-03-13 | Cleanup: doxygen comments | Campbell Barton | |
2017-10-29 | Curve Fitting: heap reinsertion optimization | Campbell Barton | |
2017-08-01 | Correct accidental variable declaration | Campbell Barton | |
2017-04-29 | Curve Fitting: minor change to re-fitting method | Campbell Barton | |
Avoid calculating a new split-index when re-fitting. While checking if a knot can be removed, the index with the highest error can be used as a candidate to replace the knot (in the case it can't be removed). | |||
2016-12-13 | Fix strict warnings on Windows | Sergey Sharybin | |
2016-09-25 | Curve Fitting: re-fitting heap pre-allocated too much | Campbell Barton | |
2016-09-25 | Curve Fitting: 'offset' method used sign when it shouldn't | Campbell Barton | |
2016-09-25 | Curve Fitting: inline dot-product (avoid temp vector) | Campbell Barton | |
2016-09-25 | Curve Fitting: de-duplicate cubic evaluation | Campbell Barton | |
2016-09-01 | Curve Fitting: correct initial handle sign | Campbell Barton | |
In practice the initial values are almost never used. | |||
2016-08-05 | Curve Fitting: fix off by one error | Campbell Barton | |
In practice this wasn't likely to cause problems, but better fix. | |||
2016-08-05 | Add upstream information to curve_fit_nd library | Campbell Barton | |
2016-08-05 | Curve Fitting: sync with upstream | Campbell Barton | |
Correct accidental float use | |||
2016-07-31 | Curve Fitting: circular fit could give NAN handles | Campbell Barton | |
Fitting lines that exactly double back on themselves could give NAN length handles. | |||
2016-07-28 | Curve Fitting: Use normalized projection function | Campbell Barton | |
2016-07-28 | Fix crash fitting single point curve | Campbell Barton | |
2016-07-25 | Resolve undefined M_PI w/ MSVC2013 | Campbell Barton | |
2016-07-25 | Resolve build error on OSX | Campbell Barton | |
2016-07-25 | Error in curve update, uninitialized var use | Campbell Barton | |
2016-07-25 | Curve Fitting: Add alternate 'refit' method | Campbell Barton | |
This is an alternative method for fitting a curve which incrementally simplifies the curve, then re-fits. Generally gives better results, also improves corner detection. | |||
2016-06-13 | Curve Fitting: add high-quality flag | Campbell Barton | |
When this flag is set - even when the curve error is under the threshold, keep attempting a better fit. Enable this for freehand drawing, since it gives nicer results and isn't noticeably slower. | |||
2016-06-12 | Curve Fitting: offset based fallback to calculate cubics | Campbell Barton | |
Add a new fallback method that uses offset distance from the curve to the line between both points, for freehand drawing it typically only fives minor improvements (1-3% fewer points), for curve dissolve the improvements are more noticeable. | |||
2016-05-16 | Cleanup: simplify checks calculating tangents | Campbell Barton | |
2016-05-16 | Curve Fitting: correct circular tangent length calculation | Campbell Barton | |
Method for scaling is still not perfect but quite close. | |||
2016-05-08 | A "better" (?) fix for msvc silliness - used in one other place in all of ↵ | Joshua Leung | |
Blender | |||
2016-05-08 | Fix compiling on MSVC - M_PI undefined | Joshua Leung | |
2016-05-07 | Clamp dot-product to avoid precision error | Campbell Barton | |
Would only happen in degenerate cases. | |||
2016-05-07 | Cleanup: whicespace | Campbell Barton | |
2016-05-07 | Curve Fitting: better fallback when least-square solution fails | Campbell Barton | |
Take curvature into account when calculating handle length. Gives significantly better results for curve dissolve and 10-20% more efficient freehand drawing. | |||
2016-05-07 | Fix error copying cubic data | Campbell Barton | |
2016-05-05 | Curve Fitting: avoid clamping fallback handles. | Campbell Barton | |
2016-05-02 | Correct header (can't use uint here) | Campbell Barton | |
2016-05-02 | Curve Fitting: expose function for fitting a single curve | Campbell Barton | |
2016-04-30 | Slight adjustment to curve fitting tangents | Campbell Barton | |
Don't let the point spacing give bias to a side. | |||
2016-04-20 | Cleanup: rename cos-angle to match BLI_math | Campbell Barton | |
2016-04-15 | New freehand curve drawing tool | Campbell Barton | |
- Access with Shift-LMB or from the 'Create' toolbar tab. - Uses curve fitting for bezier curves, with error and corner angle options. - Optional tablet pressure to curve radius mapping. - Depth can use the cursor or optionally draw onto the surface, for the entire stroke or using the stroke start. - Stroke plane can optionally be perpendicular to, or aligned to the surface normal. - Optional radius tapering and for start/end points. - Supports operator redo and calling from Python. | |||
2016-04-15 | Add lib for n-dimensional cubic curve fitting | Campbell Barton | |
This will be used for calculating bezier curves from freehand drawing, may be used for other areas too. Original code from GraphicsGems, 1990 (FitCurve.c), with updates from OpenToonz, under 3 clause BSD license. with own minor modifications for integration with Blender: - support adding extra custom-data. - improved handle clamping. |