blender/intern
Sergey Sharybin e81f2853c8 Carve booleans library integration
==================================

Merging Carve library integration project into the trunk.

This commit switches Boolean modifier to another library which handles
mesh boolean operations in much stable and faster way, resolving old
well-known limitations of intern boolop library.

Carve is integrating as alternative interface for boolop library and
which makes it totally transparent for blender sources to switch between
old-fashioned boolop and new Carve backends.

Detailed changes in this commit:

- Integrated needed subset of Carve library sources into extern/
  Added script for re-bundling it (currently works only if repo
  was cloned by git-svn).
- Added BOP_CarveInterface for boolop library which can be used by
  Boolean modifier.
- Carve backend is enabled by default, can be disabled by WITH_BF_CARVE
  SCons option and WITH_CARVE CMake option.
- If Boost library is found in build environment it'll be used for
  unordered collections. If Boost isn't found, it'll fallback to TR1
  implementation for GCC compilers. Boost is obligatory if MSVC is used.

Tested on Linux 64bit and Windows 7 64bit.

NOTE: behavior of flat objects was changed. E.g. Plane-Sphere now gives
      plane with circle hole, not plane with semisphere. Don't think
      it's really issue because it's not actually defined behavior in
      such situations and both of ways might be useful. Since it's
      only known "regression" think it's OK to deal with it.

Details are there http://wiki.blender.org/index.php/User:Nazg-gul/CarveBooleans

Special thanks to:

- Ken Hughes: author of original carve integration patch.
- Campbell Barton: help in project development, review tests.
- Tobias Sargeant: author of Carve library, help in resolving some
                   merge stoppers, bug fixing.
2012-01-16 16:46:00 +00:00
..
audaspace split >120 length lines (mostly if statements) 2011-12-22 00:03:20 +00:00
boolop Carve booleans library integration 2012-01-16 16:46:00 +00:00
bsp style edits for function declarations 2011-12-30 07:55:15 +00:00
container correct indentation and some whitespace edits (no functional changes) 2011-11-11 13:09:14 +00:00
cycles Cycles: add option to cache BVH's between subsequent renders, storing the BVH on 2012-01-16 13:13:37 +00:00
decimation correct indentation and some whitespace edits (no functional changes) 2011-11-11 13:09:14 +00:00
dualcon Fix for compilation error when compiling dualcon with mingw 2011-12-31 11:08:04 +00:00
elbeem remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
ffmpeg Cycles: svn merge -r41225:41232 ^/trunk/blender 2011-10-24 22:32:00 +00:00
ghost patch [#29856] UTF-8 copy&paste for Win32 GHOST 2012-01-16 15:00:28 +00:00
guardedalloc workaround for error building with clang and quiet some warnings building without libmv. 2011-12-31 03:01:18 +00:00
iksolver Code cleanup: fix some clang static checker warnings. 2011-12-22 20:29:44 +00:00
itasc OSX: buildfix for itask on 10.5.sdk 2011-11-15 21:55:07 +00:00
memutil remove header text: 2011-11-29 10:54:47 +00:00
mikktspace Code cleanup: fix some clang static checker warnings. 2011-12-22 20:29:44 +00:00
moto Cycles: svn merge -r41225:41232 ^/trunk/blender 2011-10-24 22:32:00 +00:00
opennl Code cleanup: fix some clang static checker warnings. 2011-12-22 20:29:44 +00:00
smoke style edits for function declarations 2011-12-30 07:55:15 +00:00
string remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n 2011-10-23 17:52:20 +00:00
CMakeLists.txt option to build without remesh modifier for cmake and scons 2011-12-31 03:34:44 +00:00
SConscript option to build without remesh modifier for cmake and scons 2011-12-31 03:34:44 +00:00