Commit Graph

110 Commits (master)

Author SHA1 Message Date
Marius Kintel 4a9d2d321a Crashed attempting to access non-existing element. Fixes #1258 2015-03-13 15:45:40 -04:00
Marius Kintel 4c6cc6aa78 Move private clase ZRemover to cc file 2015-03-02 14:46:45 -05:00
Marius Kintel bf3df9a81a #1221 Always quantize vertices when converting from PolySet to Nef polyhedron 2015-02-19 20:59:39 -05:00
Marius Kintel 33d7023752 #1215 Repair non-manifold tessellation results, detect and report non-manifold results 2015-02-14 12:28:26 -05:00
Marius Kintel 384c6af273 Output timing for convex decomposition when doing minkowski 2015-02-02 16:31:17 -05:00
Marius Kintel 1d66d2154b Filter empty children before performing minkowski sum. Fixes #1196 2015-01-29 18:35:12 -05:00
Marius Kintel a038d693c7 debug output tweak 2015-01-15 22:51:38 -05:00
Marius Kintel 1c52fad1d3 Moved libtess2-based tessellation to GeometryUtils, related refactoring 2015-01-15 14:47:05 -05:00
Marius Kintel fc68e3571e Convert all coordinates to float; the tessellator works in floats 2015-01-13 19:56:18 -05:00
Marius Kintel 39d6823872 Turn off gridding again 2015-01-13 19:21:46 -05:00
Marius Kintel 7b16891cc5 Merge remote-tracking branch 'origin/master' into libtess2 2015-01-13 18:56:41 -05:00
Marius Kintel f32eb7e84d Grid Nef3 vertices when converting to PolySet 2015-01-13 18:54:35 -05:00
Marius Kintel df2dae4e59 Added new tessellator using libtess2 instead of CGAL 2015-01-13 13:14:09 -05:00
Marius Kintel 47fcde8d5c Merge branch 'gridfix' 2015-01-07 10:56:31 -05:00
Marius Kintel 8c53981cfa Killed compiler warnings 2015-01-07 02:06:25 -05:00
Marius Kintel 74a93a3be8 Merge remote-tracking branch 'origin/gridfix' 2015-01-06 23:58:19 -05:00
Marius Kintel 1941a7fc0d #1105 Workaround for CGAL problem: Don't trust normal vectors from Nef polyhedrons, normalize calculated normal vectors 2015-01-06 22:51:44 -05:00
Marius Kintel b302cb172b Merge remote-tracking branch 'origin/master' into gridfix 2015-01-06 22:47:43 -05:00
Marius Kintel 08fd033293 Be conservative and don't apply the CGAL hull fix to unknown versions without testing 2015-01-06 17:55:42 -05:00
Marius Kintel 31f42ee81d Merge remote-tracking branch 'origin/master' into gridfix
Conflicts:
	src/cgalutils.cc
2015-01-06 12:44:17 -05:00
Marius Kintel 61c17092e1 #1089 Only apply convex_hull_3 bugfix to appropriate CGAL versions 2015-01-06 12:24:53 -05:00
Marius Kintel 82dbabac92 Apply convex hull bugfix from CGAL, work around next issue by avoiding using std::set iterators, updated test cases. Fixes #1089 2015-01-06 11:12:03 -05:00
Marius Kintel 32b2d2ec97 Fixed buggy vertex quantizing and polygon tessellation. Should improve some corner cases 2015-01-05 18:22:58 -05:00
Marius Kintel 5a2b89981c Minor fix: If we know that a PolySet is convex, there is no need to perform a computationally expensive test. Should improve #1090 2015-01-05 17:37:14 -05:00
Marius Kintel f79414a208 More debug output 2015-01-05 15:57:42 -05:00
Marius Kintel 1896c3f09a Gracefully handle malformed PolySets in minkowski. Fixes #1137 2015-01-05 14:33:54 -05:00
Marius Kintel 2fd06f4b78 #1089 Correctly handle CGAL exception behavior 2015-01-04 13:38:06 -05:00
Marius Kintel d997226f3c #1089 Provide error message instead of crashing hard on CGAL hull exceptions 2015-01-03 16:43:28 -05:00
Marius Kintel 648b7acc22 Prefix some missing errors with 'ERROR:' to make highlighting work. Fixes #1123 2014-12-31 13:49:54 -05:00
Marius Kintel 4eaf8797c2 Small refactoring: Split out Polyhedron-related functions to from cgalutils.cc to cgalutils-polyhedron.cc 2014-12-31 02:52:56 -05:00
Marius Kintel cce016b97b Merge remote-tracking branch 'origin/master' into quantizevertices 2014-12-26 14:08:09 -05:00
Marius Kintel c2643d82ea #1069 Correctly fall back to CGAL minkowski if our convex decomposition-based minkowski fails. Fixes #1069 for now, but our convex-based minkowski should not fail 2014-12-23 22:50:38 -05:00
Marius Kintel d72c121fa6 Minor Grid3 refactoring 2014-12-19 02:40:17 -05:00
Marius Kintel 0aa215b90c Quantize vertices when building Nef polyhedrons from PolySets 2014-12-19 02:27:56 -05:00
Marius Kintel 7e728fac6a Improve polyset convexity check by tessellating polygons prior to testing. Fixes #1061 2014-12-09 16:53:11 -05:00
Marius Kintel 2462799655 Handle a bunch of nullspace corner cases. Fixes #1029 2014-12-08 18:25:48 -05:00
Marius Kintel 94aabb05b5 #1054 Fixed memory leak 2014-12-08 00:57:28 -05:00
Marius Kintel 57974baa13 Silence verbose debug output 2014-12-01 16:47:00 -05:00
Marius Kintel a05fe72c6b Rewrote tessellation used for NefPolyhedron to PolySet conversion. Should fix #1033 2014-12-01 00:54:01 -05:00
Marius Kintel 819f5d085f Moved Polygon typedef out of PolySet class 2014-11-26 15:22:15 -05:00
Torsten Paul 7ad0a86b02 Fix crash in hull() with empty CGAL child geometry (fixes #990). 2014-10-21 20:57:18 +02:00
Oskar Linde 2e1f24b4dc Bugfix. Fixes #953 2014-09-18 23:14:16 +02:00
Marius Kintel 51c43af4f4 #337 Enabled conversion directly from Nef polyhedron to PolySets, making us able to deal with more manifold corner cases 2014-08-21 13:20:32 -04:00
Marius Kintel de6bcb1786 small reorg of cgalutils namespace 2014-08-19 22:02:08 -04:00
Marius Kintel 9d79d90104 #337 bugfix: We exported inner surfaces instead of outer ones 2014-08-17 15:07:02 -04:00
Marius Kintel 11952c4c0c PRINT -> PRINTD 2014-08-17 13:58:48 -04:00
Marius Kintel 9a1074ebbc #703 Ignore faces with <3 vertices while checking for convexity. Fixes crash 2014-08-17 12:42:24 -04:00
Marius Kintel 6405456c8a Renamed CGAL_renderer to CGAL_OGL_Polyhedron for clarity 2014-08-15 13:04:34 -04:00
Marius Kintel f87ee92755 bugfix: don't crash on empty resize(). refactoring: added virtual copy() to geometry, moved resize() to CGAL_Nef_polyhedron. Fixes #862 2014-07-17 17:03:03 -04:00
Oskar Linde 681f03a2a7 Resolve #835 2014-06-23 10:15:39 +02:00