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-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.
2016-04-12Remove any wrangler utility scriptsSergey Sharybin
2016-04-12CMake: ignore headerCampbell Barton
2016-04-12CMake: Partially revert recent missing headers commitSergey Sharybin
The header which was put to the CMake project is not by any means used during compilation, it is only used when manually updating CUDA wrangler from CUDA headers.
2016-04-12CMake: add missing headersCampbell Barton
2016-04-05Update Recast version to 1.5.0Reinier de Blois
The version of Recast that Blender ships with is from 2009. This patch updates the Recast version to the latest version, 1.5.0. The Detour version remains untouched. Reviewers: campbellbarton, moguri Reviewed By: moguri Projects: #bf_blender Differential Revision: https://developer.blender.org/D1747
2016-03-27Fix T47758: rigidbody bug with constraint breaking and disable collisions.Brecht Van Lommel
This is a regression in Bullet, reverted the problematic change for now with a custom patch.
2016-02-21Attempt to fix GLog compilaton on FreeBSDSergey Sharybin
Copied some config variables from an original config file.
2016-02-20Carve: Silence 32/64 bit shit warningSergey Sharybin
There's no need to mix ints and size_t here at all because all the values fits into integer. It's unlikely we'll be re-bundling Carve, so didn't bother with the patchset.
2016-02-20Fix some warnings in GLog/GFlags when buildingwith MSVC2013Sergey Sharybin
Those warnings were only addressed for MSVC2015 so far.
2016-02-17Fix/workaround static object initialization in gflagsSergey Sharybin
2016-02-03Imbuf: remove libredcodeCampbell Barton
D1751, remove this library since its quite a specific - only supports an older version of this codec. Also ffmpeg has added support for recent versions of the codec.
2016-02-02Fix build error on OS X in previous commit, this define should stay.Brecht Van Lommel
2016-02-02Fix T47293: game engine crashes since Bullet upgrade.Brecht Van Lommel
This restores a modification that was there before.
2016-01-26Upgrade Bullet to version 2.83.Brecht Van Lommel
I tried to carefully preserve all patches since the last upgrade. Improves T47195, cloth collision detection bug. Differential Revision: https://developer.blender.org/D1739
2016-01-22Hacky compile fix for mingw compile issue reported by bat3a on bf-committersJoshua Leung
I've been using this fix in another branch locally, so it seems to work fine. The other #ifdef checks should be checked on too, as __MINGW32__ and __MINGW64__ do NOT seem to be defined when compiling that file
2016-01-20Carve: Remove empty implementation filesSergey Sharybin
2016-01-14CMake: De-duplicate checks around unordered maps and shared pointerSergey Sharybin
Previously several areas were calling TEST_SHARED_PTR_SUPPORT and TEST_UNORDERED_MAP_SUPPORT which isn't that bad on it's own but was causing some quite verbose output with same information line printed multiple times. additionally, what's more worse, define flags for Ceres were duplicated in main CMakeLists and Ceres's CMakeLists. Now we've got a single place where checks for those classes are happening and other areas are simply checking for variables set by those check macros, keeping CMake output clean and nice.
2016-01-14Cycles: Add option to directly link against CUDA librariesSergey Sharybin
The main purpose of such linking is to make Blender compatible with NVidia's debuggers and profilers which are doing some LD_PRELOAD magic to intercept some function calls. Such magic conflicts with our CUDA wrangler magic and causes segmentation faults. The option is disabled by default, so there's no affect on any of artists. In order to make Blender linked directly against CUDA library use the WITH_CUDA_DYNLOAD CMake option (it's marked as advanced).