From 83617d24d536ec234bbe53b8b0fbcb76e7b5b3ee Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Thu, 30 Jan 2014 18:32:23 +0600 Subject: 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. Perhaps memory usage and CPU usage are the same after all the features are implemented but we've got support now: - ORIGINDEX for all the geometry - Interpolation of edge custom data (seams, crease) - NGons support Triangulation rule is changed now as well, so now non-flat polygons are not being merged back after Carve work. This is so because it's not so trivial to support for NGons and having different behavior for quads and NGons is even more creepy. Reviewers: lukastoenne, campbellbarton Differential Revision: https://developer.blender.org/D274 --- source/blender/modifiers/CMakeLists.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/modifiers/CMakeLists.txt') diff --git a/source/blender/modifiers/CMakeLists.txt b/source/blender/modifiers/CMakeLists.txt index 6a8eac6ee48..7b43f9899b8 100644 --- a/source/blender/modifiers/CMakeLists.txt +++ b/source/blender/modifiers/CMakeLists.txt @@ -114,7 +114,7 @@ if(WITH_MOD_BOOLEAN) intern/MOD_boolean_util.c ) list(APPEND INC - ../../../intern/bsp/extern + ../../../extern/carve ) endif() -- cgit v1.2.3