blender/extern
Sergey Sharybin 59ef51aa27 Initial Ceres integration into Blender
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!
2012-06-10 15:27:41 +00:00
..
binreloc update gpl header in cmake files 2012-02-11 04:05:00 +00:00
bullet2 Update Bullet to version 2.80 (bullet svn revision 2537) 2012-06-08 16:13:01 +00:00
carve Style cleanup: use 2 spaces for indentation in bundle scripts 2012-05-10 11:17:15 +00:00
colamd update gpl header in cmake files 2012-02-11 04:05:00 +00:00
Eigen3 Update Eigen3 library, would be needed for some further integraiton. 2012-05-09 08:33:05 +00:00
glew update gpl header in cmake files 2012-02-11 04:05:00 +00:00
libmv Initial Ceres integration into Blender 2012-06-10 15:27:41 +00:00
libopenjpeg update gpl header in cmake files 2012-02-11 04:05:00 +00:00
libredcode style cleanup 2012-05-27 00:36:50 +00:00
lzma update gpl header in cmake files 2012-02-11 04:05:00 +00:00
lzo update gpl header in cmake files 2012-02-11 04:05:00 +00:00
recastnavigation style cleanup: + some warning fixes, also remove unused metaelem extern. 2012-03-10 22:00:55 +00:00
xdnd Drag-n-drop support on Linux 2012-02-17 16:58:09 +00:00
CMakeLists.txt XDND support now can be disabled using WITH_GHOST_XDND=OFF with CMake and WITH_GHOST_XDND=False with SCons 2012-02-17 20:51:39 +00:00
SConscript XDND support now can be disabled using WITH_GHOST_XDND=OFF with CMake and WITH_GHOST_XDND=False with SCons 2012-02-17 20:51:39 +00:00