Commit Graph

39 Commits (master)

Author SHA1 Message Date
Marius Kintel 424f37e17b #1250 Don't tesselate convex polysets for rendering 2015-03-08 23:56:37 -04:00
Marius Kintel 00a3a1777e #793 Don't try to tessellate empty geometry 2015-02-02 19:21:49 -05:00
Marius Kintel 707103b606 #793 Tessellate PolySets before rendering to properly support concave polygons 2015-02-02 18:57:21 -05:00
Marius Kintel fe3cae8120 #1065 Text preview optimization: Don't tesselate every frame 2014-12-16 17:03:06 -05:00
Marius Kintel a68b39ead7 Fix regression related to intersection with empty shapes. Fixes #996 2014-10-31 15:28:26 +04:00
Marius Kintel 8cece20ced minor: No need to evaluate csg terms of null geometry 2014-02-04 23:47:39 -05:00
Marius Kintel 0f2853895a Merge branch 'master' into issue527 2014-01-13 23:08:56 -05:00
Marius Kintel 8d95b48ad2 Revert "Fixed an issue which caused us to traverse the entire tree for OpenCSG rendering traversals, where we didn't actually use the traversal results (for all nodes requiring CGAL)"
This reverts commit 448f8b4142.

-> We need to traverse the subtrees to be able to pick up debug and highlight modifiers
2014-01-13 23:04:22 -05:00
Marius Kintel dc9429acac Use GeometryEvaluator instead of CGALEvaluator. A bunch of refactoring and fixes as a result of that. Renamed GUI menu items to reflect preview vs. render 2014-01-09 02:06:35 -05:00
Marius Kintel 02cd792cb3 Implemented minkowski (2D and 3D) 2014-01-09 02:06:34 -05:00
Marius Kintel d9ad3a60a0 Implemented rotate_extrude, basic support for 2D CSG, fixed some linear_extrude issues 2014-01-09 02:06:32 -05:00
Marius Kintel b8c15cfb8a Preliminary large refactoring: Created GeometryEvaluator as a replacement for PolySetEvaluator. Use ClipperLib for 2D CSG (first baby steps). This design is far from perfect but sacrifice design for staying in the green. This version is broken, but can render primitives. 2014-01-09 02:06:32 -05:00
Marius Kintel acd08b6f1a Green refactoring, but uncertain if we should keep it 2014-01-09 02:06:32 -05:00
Marius Kintel 170d4a5497 bugfix: previous commit broke debug builds 2013-10-20 14:38:33 -04:00
Marius Kintel 448f8b4142 Fixed an issue which caused us to traverse the entire tree for OpenCSG rendering traversals, where we didn't actually use the traversal results (for all nodes requiring CGAL) 2013-10-19 18:03:09 -04:00
Marius Kintel c719dde971 More frequent progress updates, progress updates also for CSG evaluation 2013-06-04 21:52:03 -04:00
Don Bright 37dc9342a1 Merge branch 'master' of github.com:openscad/openscad into issue125 2013-05-27 00:08:31 -05:00
Don Bright 08952ee216 windows - library path find, also windows build fixes 2013-05-26 20:24:53 -05:00
Marius Kintel e1766faeed Initial implementation of improved operator handling. Provides the bulk of work for #304 2013-05-24 18:40:09 -04:00
Marius Kintel e502fab71d Merge branch 'master' into color-priority
Conflicts:
	openscad.pro
2011-12-26 16:37:45 +01:00
Marius Kintel 4ff2d1af44 Some light refactoring attempts, didn't get very far.. 2011-12-26 16:34:47 +01:00
Marius Kintel c4bffdaf37 Color overriding now works. The outermost color will win if multiple colors are specified for the same object 2011-12-26 00:38:03 +01:00
Marius Kintel 8d5be2c524 Implemented CSG tree pruning - this should significantly improve performance of difficult models in OpenCSG preview mode 2011-12-22 04:12:15 +01:00
Marius Kintel 65a5aa23bf Refactoring: Use shared_ptr instead of our own shared pointer implementation for CSGTerm 2011-12-06 01:17:03 +01:00
Don Bright 40b1b4ac27 improve OpenGL error reporting. tracking down INVALID_ENUM bug 2011-10-18 20:55:42 -05:00
Marius Kintel f5e0f3a531 Rewrote some hard to read linear algebra code to use Eigen 2011-10-04 03:41:43 +02:00
Marius Kintel 84e98b178a Cleaned up some unnecessary includes 2011-10-01 01:36:30 +02:00
Marius Kintel c0641d6916 Reenabled PolySet caching. Pass shared_ptrs to polysets around to better manage memory 2011-09-11 07:33:18 +02:00
Marius Kintel cbba974d3a Initial attempt of cleaning up polyset handling. PolySet no longer keeps a refcount, basic cache mechanism is in place, instantiating polysets are controlled through PolySetEvaluator 2011-09-09 05:53:05 +02:00
Marius Kintel 8895546f0e Assert on unknown operation, be safe and kill a warning 2011-09-08 02:33:32 +02:00
Marius Kintel 0e7c6473fa Implemented render() 2011-09-06 18:31:22 +02:00
Marius Kintel 1e4e18c524 minkowski sums should now work again 2011-09-06 14:57:24 +02:00
Marius Kintel acfd1e1b19 More de-Qt-ify 2011-09-03 06:30:48 +02:00
Marius Kintel ed8a99ed55 Refactoring: Moved color functionality into separate module and node 2011-09-02 23:35:10 +02:00
Marius Kintel 53725500e5 Better warning for unimplemented render() 2011-09-02 16:22:01 +02:00
Marius Kintel 6041c34f0b Refactored some non-CGAL functionality into separate functions in PolySetCGALEvaluator 2011-09-01 17:03:34 +02:00
don bright ec85e65ee9 fix build errors on windows 2011-08-12 18:48:59 -05:00
Marius Kintel cfea2f8934 bugfix: background and highlight was broken after refactoring 2011-08-06 01:08:11 +02:00
Marius Kintel 6882228058 Merge branch 'master' into visitor
Conflicts:
	src/GLView.h
	src/glview.cc
	src/mainwin.cc
	src/render-opencsg.cc
2011-07-31 01:58:51 +02:00