Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/extern
AgeCommit message (Collapse)Author
2016-09-25Curve Fitting: 'offset' method used sign when it shouldn'tCampbell Barton
2016-09-25Curve Fitting: inline dot-product (avoid temp vector)Campbell Barton
2016-09-25Curve Fitting: de-duplicate cubic evaluationCampbell Barton
2016-09-01Curve Fitting: correct initial handle signCampbell Barton
In practice the initial values are almost never used.
2016-09-01Cleanup: Reduce amount of misleading indentationSergey Sharybin
Was polluting compile output too much.
2016-08-23OpenCL: Support multiple ABI libraries on LinuxSergey Sharybin
Solves issue reported in T49144.
2016-08-05Curve Fitting: fix off by one errorCampbell Barton
In practice this wasn't likely to cause problems, but better fix.
2016-08-05Add upstream information to curve_fit_nd libraryCampbell Barton
2016-08-05Curve Fitting: sync with upstreamCampbell Barton
Correct accidental float use
2016-07-31Curve Fitting: circular fit could give NAN handlesCampbell Barton
Fitting lines that exactly double back on themselves could give NAN length handles.
2016-07-29Gtests: Re-apply strict compiler fixesSergey Sharybin
2016-07-29Add GMock library which is responsive for dealing with mock objectsSergey Sharybin
2016-07-29GTests: Update to a newer Git versionSergey Sharybin
Required to get GMock working with GTest.
2016-07-28Curve Fitting: Use normalized projection functionCampbell Barton
2016-07-28Fix crash fitting single point curveCampbell Barton
2016-07-25Resolve undefined M_PI w/ MSVC2013Campbell Barton
2016-07-25Resolve build error on OSXCampbell Barton
2016-07-25Error in curve update, uninitialized var useCampbell Barton
2016-07-25Curve Fitting: Add alternate 'refit' methodCampbell 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-07-12Revert "OpenJPEG: update to 2.1 from 1.5"Sergey Sharybin
This reverts commit f12204196fb1ee985ab9745cf9c70877601145f9. Campbell, sorry. have to revert this for the time being. We've missed some very important bits, such as: - FFmpeg is usually linked against OpenJPEG - OIIO needs OpenJPEG as well. For FFmpeg issues we can either disable OpenJPEG there (since we don't really use it), or bump FFmpeg to version 3.1.1 which can use either of OpenJPEG 1.5 or 2.1. For OIIO we do need OpenJPEG support (otherwise Cycles will not be able to use j2k/j2c textures) and currently there is NO solution to make OIIO working with OpenJPEG 2.1. According to Matthias Fauconneau (aka mfv) Larry is working on the patch to get OIIO work with OpenJPEG 2.1, but it'll take some time still. I've tried to look into support of some sort of build system flag and do ifdefs, but it all becomes quite nasty, especially with bundled OpenJPEG bumped to 2.1. Surely such an update is something we'll have to apply to but at this exact moment it causes quite some pain for all developers. Suggest to wait for until OIIO supports OpenJPEG 2.1 and then go with the updates for real.
2016-07-12OpenJPEG: update to 2.1 from 1.5Campbell Barton
Stream handling has changed so this required changes to how files & memory are accessed.
2016-07-11CMake: suppressing indentation warning for externCampbell Barton
2016-06-13Curve Fitting: add high-quality flagCampbell 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-12Curve Fitting: offset based fallback to calculate cubicsCampbell 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-06-02Add upstream information to wcwidth libraryCampbell Barton
2016-05-27Add upstream information to librariesCampbell Barton
2016-05-27Add some more information about extern librariesSergey Sharybin
2016-05-25dd upstream information to librariesCampbell Barton
2016-05-24Forgot this in previous commitSergey Sharybin
2016-05-24Add upstream information to librariesSergey Sharybin
2016-05-19CMake: use signed char for recastnavigationCampbell Barton
External libraries may need char to be signed.
2016-05-19Cleanup: CMake indentationCampbell Barton
Also remove outdated comment
2016-05-18Cuda wrangler: Fix very nasty bug with multiple scalar type qualifiersSergey Sharybin
2016-05-16Cleanup: simplify checks calculating tangentsCampbell Barton
2016-05-16Curve Fitting: correct circular tangent length calculationCampbell Barton
Method for scaling is still not perfect but quite close.
2016-05-08A "better" (?) fix for msvc silliness - used in one other place in all of ↵Joshua Leung
Blender
2016-05-08Fix compiling on MSVC - M_PI undefinedJoshua Leung
2016-05-07Clamp dot-product to avoid precision errorCampbell Barton
Would only happen in degenerate cases.
2016-05-07Cleanup: whicespaceCampbell Barton
2016-05-07Curve Fitting: better fallback when least-square solution failsCampbell 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-07Fix error copying cubic dataCampbell Barton
2016-05-05Curve Fitting: avoid clamping fallback handles.Campbell Barton
2016-05-02Correct header (can't use uint here)Campbell Barton
2016-05-02Curve Fitting: expose function for fitting a single curveCampbell Barton
2016-04-30Slight adjustment to curve fitting tangentsCampbell Barton
Don't let the point spacing give bias to a side.
2016-04-22Silence some annoying warnings when doing full build with strict flagsSergey Sharybin
This mainly touches extern libraries and few debug-only places in intern. Some summary: - External libraries are not strict at all about missing declarations, so we can rather safely remove such warning together with other strict flags. - Bullet has some static functions which are not used. Those were commented out. - Carve now has some unused debug-only functions commented out as well. While we're on the way of getting rid of Carve, it makes sense to make things a bit cleaner for the time being. - In LZMA we have some parts disabled which gives some set but unused variables which is rather correct. - Elbeem had quite some variables set and never used because their usage is inside of debug-only code which is commented out. Note about patching upstream libraries: surely one might say that we have to make local patchset against this, but own experience says it only gives extra work trying to merge such tweaks to a new upstream version and usually it's just faster to re-apply such fixes again after bundling new upstream library.
2016-04-20Update bundled openjpeg from 1.5.0 to 1.5.2Sergey Sharybin
Solves following issues: - Quite reasonable amount of paranoid warnings were solved by an upstream - Upstream seems to have all fixes needed for FreeBSD and OSX already - Brings all fixes and such from upstream
2016-04-20Cleanup: rename cos-angle to match BLI_mathCampbell Barton
2016-04-15New freehand curve drawing toolCampbell 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-15Add lib for n-dimensional cubic curve fittingCampbell 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.