Age | Commit message (Collapse) | Author | |
---|---|---|---|
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. |