Blender Git Loki

Git Commits -> Revision 15bb397

February 3, 2014, 09:50 (GMT)
Rework carve integration into boolean modifier

Goal of this commit is to support NGons for boolean modifier
(currently mesh is being tessellated before performing boolean
operation) and also solve the limitation of loosing edge custom
data layers after boolean operation is performed.

Main idea is to make it so boolean modifier uses Carve library
directly via it's C-API, avoiding BSP intermediate level which
was doubling amount of memory needed for the operation and which
also used quite reasonable amount of overhead time.

Reviewers: lukastoenne, campbellbarton

CC: scorpion81, karja, jsm

Differential Revision: https://developer.blender.org/D274

Commit Details:

Full Hash: 15bb397fbbf619433152ee91ecd0fea4a3ded5ee
Parent Commit: 9896508
Committed By: Lukas Toenne
Lines Changed: +1594, -4317

5 Added Paths:

/extern/carve/carve-capi.cc (+503, -0) (View)
/extern/carve/carve-capi.h (+149, -0) (View)
/extern/carve/carve-util.cc (+419, -0) (View)
/extern/carve/carve-util.h (+43, -0) (View)
/extern/carve/patches/interpolator_reorder.patch (+12, -0) (View)

14 Deleted Paths:

/intern/bsp/CMakeLists.txt (+0, -69)
/intern/bsp/extern/CSG_BooleanOps.h (+0, -361)
/intern/bsp/intern/BOP_CarveInterface.cpp (+0, -852)
/intern/bsp/intern/BOP_Interface.h (+0, -47)
/intern/bsp/intern/BSP_CSGException.h (+0, -59)
/intern/bsp/intern/BSP_CSGMesh.cpp (+0, -659)
/intern/bsp/intern/BSP_CSGMesh.h (+0, -249)
/intern/bsp/intern/BSP_CSGMesh_CFIterator.h (+0, -272)
/intern/bsp/intern/BSP_MeshPrimitives.cpp (+0, -298)
/intern/bsp/intern/BSP_MeshPrimitives.h (+0, -280)
/intern/bsp/intern/CSG_BooleanOps.cpp (+0, -180)
/intern/bsp/SConscript (+0, -49)
/intern/container/CTR_TaggedIndex.h (+0, -210)
/intern/container/CTR_TaggedSetOps.h (+0, -300)

12 Modified Paths:

/extern/carve/bundle.sh (+4, -0) (Diff)
/extern/carve/CMakeLists.txt (+4, -0) (Diff)
/extern/carve/include/carve/interpolator.hpp (+1, -1) (Diff)
/extern/carve/patches/series (+1, -0) (Diff)
/intern/CMakeLists.txt (+0, -4) (Diff)
/intern/container/CMakeLists.txt (+0, -2) (Diff)
/source/blender/blenkernel/CMakeLists.txt (+0, -6) (Diff)
/source/blender/blenkernel/SConscript (+0, -1) (Diff)
/source/blender/modifiers/CMakeLists.txt (+1, -1) (Diff)
/source/blender/modifiers/intern/MOD_boolean.c (+0, -4) (Diff)
/source/blender/modifiers/intern/MOD_boolean_util.c (+457, -412) (Diff)
/source/blender/modifiers/SConscript (+0, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021