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
AgeCommit message (Collapse)Author
2014-10-02Libmv: Remove old workaround for 10.5 hash tablesSergey Sharybin
We on'don't really support 10.5 anymore for my knowledge and in any case the defined symbol was never checked in the sources, so this workaround was basically doing nothing for quite some time now.
2014-10-02Libmv: Add an option to disable schur specializations build-timeSergey Sharybin
This way folks with few ram or those who wants to hack into Ceres code might compile Blender much faster.
2014-09-30Libmv: update ceres to latest upstream versionSergey Sharybin
This brings faster BlockRandomAccessSparseMatrix::SymmetricRightMultiply.
2014-09-29Libmv: Update Ceres to the latest upstream versionSergey Sharybin
Mainly to let ITERATIVE_SCHUR use an explicit Schur Complement matrix.
2014-09-25Update Ceres to latest upstream versionSergey Sharybin
As usual brings fixes and speed improvements.
2014-09-25Tracking: Enable Schur specializationsSergey Sharybin
This would give some performance boost when solving huge scenes, amount of boost depends on particular scene. For now enable all of the specializations, in the future we might add some local patches and restrict only unneeded ones.
2014-06-27Get rid of usage of non-existing moduleSergey Sharybin
2014-06-27Update Ceres to latest upstream versionSergey Sharybin
Brings new bounds limiting and also prepares build system for the changes in the upstream. Namely shared_ptr header and namespace is now being detected by a build system rather than by hacks in the code. This commit includes some changes to auto-detection flags in SCons, presumably adding more consistency there. This is main changes which are suppoed to be reviewed here. Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D581
2014-03-25Followup to Ceres changes -- need to update bundling scriptSergey Sharybin
2014-03-25Fix for own commit: mixed up ceres build defines when replacing cmakeLukas Tönne
check with a generalized macro. rBbbfcb0b1e44636b73b8c46f1cb800fa53dda5277
2014-03-25Build file macro for testing unordered_map C++ container support.Lukas Tönne
Using unordered_map and unordered_set C++ container types currently requires careful testing or usage of boost, due to the various confusing C++ version differences in include paths and namespaces. Libmv defines tests for these cases in cmake and scons, such that ceres can use any available implementation, or fall back too std::map/std::set if none can be found. This patch generalizes this buildfile code by providing a Blender macro. * cmake: defines both the variables used by libmv at them moment as well as 2 variables UNORDERED_MAP_INCLUDE_PREFIX and UNORDERED_MAP_NAMESPACE, which can later be used in other C++ parts for convenience. * scons: adds a tool script returning the include prefix and namespace. Libmv checks these to define the appropriate definitions for ceres. Differential Revision: https://developer.blender.org/D425
2014-02-24Followup for 90a86fe: libmv/ceres cmake/scons files are automatically generatedSergey Sharybin
So don't forget to update generator scripts as well.
2014-02-18Fix T38684: cmake OS X build problem when changing deployment target.Brecht Van Lommel
Don't cache these variables as they are not cleared on such changes.
2014-01-13Ceres: more warnings cleanupSergey Sharybin
2014-01-13Re-bundle new Ceres librarySergey Sharybin
- Fixes some harmless issues (in cases blender doesn't use Ceres yet) - Fixes some compilation warnings
2014-01-01Update Ceres to the latest upstreamSergey Sharybin
Summary: This brings up much easier termination type usage, which for us means we might use: ceres::Summary::IsSolutionUsable() instead of doing manual funky enum values check. Reviewers: keir Differential Revision: https://developer.blender.org/D153
2013-12-10CMake: report messages as status (else ccmake treats like an error)Campbell Barton
2013-11-28Code cleanup: spelling fixes and verbosity printsSergey Sharybin
2013-11-28Made collections port compatible with MSVC2008Sergey Sharybin
The issue was caused by the fact that in this version of MSVC unordered_map class is defined in <unordered_map> header file, but this file declares the class int std::tr1 namespace. This confused existing assumption that if there's an existing <unordered_map> file then class is declared in std namespace. Added an extra check to CMake which detects whether it's std or std::tr1 which actually contains class of unordered_map. This might be changed/cleaned in the future, for now committing to our repository to solve compilation error on windows. Details of the patch in upstream can be found there: https://ceres-solver-review.googlesource.com/#/c/4371/
2013-11-28Update Ceres to latest upstream versionSergey Sharybin
- A richer Problem API. - DynamicNumericDiffCostFunction. - Faster ITERATIVE_SCHUR solver. - Faster SCHUR_JACOBI preconditioner. - Faster Jacobian evaluation. - Faster visibility based preconditioning using single linkage clustering. Also re-wrote rules for unordered collections detection, should work on all platforms and compilers now :)
2013-11-08OSX/scons: make MACOSX_SDK_CHECK a local var is sconstruct and remove from ↵Jens Verwiebe
env, also fix a longstanding misuse of MACOSX_SDK_CHECK in ceres, use MACOSX_SDK instead
2013-09-05Update Ceres to 1.7.0 releaseSergey Sharybin
For Blender this release is interesting because of: - Covariance estimation (not used in Blender yet, but now we might use it for keyframe selection instead of havingown implementation). - Significant performance improvements to loss function and dense linear solvers and automatic differentiation. Unfortunately, didn't notice speedup of tracking itself, but camera reconstruction now happens around 2 times faster on my laptop, - Better inner iteration step acceptance and stopping.
2013-04-22Update Ceres to current upstream versionSergey Sharybin
This brings a fixes for threading issue in BLAS making BA step more robust (there were some in-detemrinacy caused by this threading issue). Also brings some optimizations, which does not directly affect on blender.
2013-04-08Update ceres to current upstream versionSergey Sharybin
Brings fixes for BLAS.
2013-04-05Bundle current master of ceres-solverSergey Sharybin
Thins brings up some speed improvements: SPARSE_SCHUR is approx 1.3-1.5x times faster ITERATIVE_SCHUR is approx 1.2x times faster For blender this means camera solution go a bit faster now. Would not have affect on tracking speed.
2013-03-21Update ceres to current git version.Sergey Sharybin
Mainly to support msvc2010, bit also includes some minor fixes.
2013-03-05Update Ceres to 1.5RC3Sergey Sharybin
It brings optimization of DENSE_QR and DENSE_SCHUR solvers.
2013-02-26Use threaded cost function and jacobian computationSergey Sharybin
Also made it theraded linear solver, seems it makes sense for iterative schur with inner iterations enabled. Use OpenMO's max therads called from bundler code to detect how many threads to use. Could be changed in a way that number of threads is passing in options from blender side in the future. Also removed redundant V3D definition from compiler's flags.
2013-02-25Upgrade Ceres library to current master which is current 1.5RCSergey Sharybin
This is helpful because it brings CHOLMOB-free ITERATIVE_SCHUR and SCHUR_JACOBI which is really nice for new upcoming bundle adjustment. If also includes all the local fixes we made locally. There're lots of other improvements/fixed which are not currently would be so much visible in Blender, but which opens doors for some great improvements in future.
2013-02-18Correction to previous commit, needed to tweak some includeSergey Sharybin
directories after shuffling order of subdirectories and compiler flags tweaks.
2012-10-17code cleanup:Campbell Barton
- move object_iterators.c --> view3d_iterators. (ED_object.h had to include ED_view3d.h which isn't so nice) - move projection functions from view3d_view.c --> view3d_project.c (view3d_view was becoming a mishmash of utility functions and operators). - some some cmake includes as system-includes.
2012-10-14code cleanup: remove redundant castsCampbell Barton
2012-09-18Ceres: resolve no previous declarations warningsSergey Sharybin
Currently done as patch applied on bundling, would forward it to Ceres developers.
2012-09-17code cleanup: correct include paths and commentCampbell Barton
2012-09-16Real fix for OSX CMake -- was a typo in build file generation fileSergey Sharybin
Now Ceres re-bundling should go smooth :)
2012-09-16Fix OSX compileJens Verwiebe
2012-09-16Fix typo in one of previous commitsSergey Sharybin
2012-09-16Ceres: tweak namespace for hash classes for MSVC2010Sergey Sharybin
Not sure if it'll solve all issues, but at least it should reduce amount of errors. Also added missed patch from previous commit.
2012-09-16Ceres: reshuffle include order to solve compilation error with MSVCSergey Sharybin
Not sure why exactly this happens, would need extra investigation and should probably be also fixed in upstream.
2012-09-16Ceres: upgrade to version 1.3.0Sergey Sharybin
This should contain real fixes for Windows, making it more robost and hopefully faster (due to proper collection port) on that platform. Also hack to fix Eigen alignment shouldn't be needed anymore. Also on platforms which have got broken TR1 collections it's better to define CERES_NO_TR1 instead of using Boost hacks. Made changes to Scons and CMake, but can not check if this indeed works since i don't have OSX here.
2012-09-16Ceres: remove debug-only code from bundling script, also move osx workaround ↵Sergey Sharybin
to template
2012-09-11Fix libmv build on OS X with 10.5 SDK. The tr1::unordered_map implementationBrecht Van Lommel
is broken in this SDK, now it uses the boost implementation instead.
2012-07-27Fix compile errors on VC++ 2012 RC1.Daniel Genrich
Note: Compile still fails during ceres compile (namespace tr1 problems).
2012-06-14Disable fixed-sized specializations for schur solverSergey Sharybin
As far as i remember Keir, this should be safe for our usages of ceres and it should save noticeable amount of time and used memory when compiling blender with libmv support. Quick tests with tracking went smooth after this.
2012-06-11Fix compilation of new tracker for MinGW/MinGW64Antony Riakiotakis
2012-06-11SVN maintenance.Guillermo S. Romero
2012-06-10Commit patch from Stephan Kassemeyer sent to MLSergey Sharybin
This patch aims to solve unaligned operation assert happens in Eigen library. This is short-term solution which in fact shall be reverted as soon as real solution would be added to Ceres. Meanwhile this should be acceptable to have for a while.
2012-06-10Initial Ceres integration into BlenderSergey Sharybin
Currently only put sources of Ceres library into extern/libmv/third_party and setup CMake and SCons building systems. Integration details: - Even CMake build files are not re-used from Ceres's trunk: they're using some automatic stuff detection like glog, pthreads, protobuf and so and it's not so clear how to re-use that files without modifications. And IMO it's easier if build files are getting re-generated automatically to match Blender-specific setup rather than keeping changes made locally in Blender in sync when re-bundling Ceres library. Especially in case when it's already needed to support SCons build system. - Integrated only actual sources, all tests were stripped. Probably it'll be nice to have them, but they'll need clear integration with current module test stuff in Blender. - Suitesparse was disabled. It'll help a lot having it, but there are some difficulties making cholmod working fine on windows. Would be added in future - collections_port.cc was also stripped. It's not used by Ceres's upstream and it gives compilation error (undefined uint32 -- looks like namespace issue). - Currently all schur eliminators are included. Not sure if it makes sense, also not sure if it makes sense having them switchable on and off -- IMO better to have single configuration which works and does not require special tweaks after everything was set up. To bundle updated version of Ceres: - Go to extern/libmv/third_party/ceres folder - Run ./bundle.sh This will checkout fresh Ceres snapshot of Windows branch (which is currently most interesting from integration into Blender POV), apply all patches listed in patches/series and copy needed files into Blender's working copy. This will also re-generate CMake/SCons build rules. If you'll need extra files from Ceres repository which are not present in Blender, you'll need to copy them manually and then run ./mkfiles.sh from extern/libmv/third_party/ceres folder which will update list of files used by Blender. Thanks to Leir Mierle and Sameer Agarwal (and all others who helped developing Ceres) this library and thanks to Keir Mierle with help integrating it into Blender!