Commit Graph

22 Commits (b8c15cfb8a220bdc4b8a0581992ec3c2cd52cf9b)

Author SHA1 Message Date
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
Don Bright e6bf94b6ff tab spaces 2013-12-15 08:33:18 -06:00
Don Bright 0a2b7ca0d4 FIXME leaking polyset by altering functions signatures 2013-12-14 17:20:35 -06:00
Marius Kintel 8cea6834f6 bugfix for recently introduced bug: Render negative 2D objects slightly thicker than positive objects to avoid z-buffer tearing with OpenCSG rendering 2013-01-08 13:24:54 -05:00
Don Bright 319364b597 use shared_ptr in shell visitor. add dump() code. hide debug cout. 2012-02-13 18:43:38 -06:00
Marius Kintel fe3362faf8 Started on cache size management: Let cache sizes be read from Preferences, measure cache sizes in bytes 2012-01-10 00:01:50 +01:00
Marius Kintel 9ed8d9a673 Some small refactoring of color handling to support using the color() module to change only alpha 2011-12-11 23:45:14 +01: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 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 3f863ae459 Added isempty() 2011-09-01 22:42:46 +02:00
Marius Kintel 80e526880a Started on getBoundingBox functionality, refactored some vector code as part of this initiative 2011-08-05 02:11:20 +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
Marius Kintel 887f7eb99f Refactored GL rendering inspired by Giles' work on RapCad. The ultimate goal is to become independent of Qt 2011-07-30 21:29:40 +02:00
kintel e0c5673e1b Reverted accidental commits
git-svn-id: http://svn.clifford.at/openscad/trunk@573 b57f626f-c46c-0410-a088-ec61d464b74c
2010-10-31 01:58:50 +00:00
kintel 53337ff654 Committed current version of visitor refactoring
git-svn-id: http://svn.clifford.at/openscad/trunk@571 b57f626f-c46c-0410-a088-ec61d464b74c
2010-10-31 01:19:06 +00:00
Marius Kintel e8e213b3c9 Another refactoring session:
o mk_cache_id() obsoleted by removing the node index from the dump
o node index output removed from each node and make optional in NodeDumper
o The visitors are no longer global, but associated with a tree
o Added Tree class to manage node trees and the (now implicit) dump cache
o Moved PolySet cache into PolySetRenderer
2010-10-31 02:42:35 +02:00
Marius Kintel 184d0e041f Initial implementation of CGALRenderer 2010-10-31 02:42:35 +02:00
Marius Kintel 393c5a19fe Committed current version of visitor refactoring 2010-10-31 02:42:34 +02:00
kintel 83647da87e linux build fixes
git-svn-id: http://svn.clifford.at/openscad/trunk@369 b57f626f-c46c-0410-a088-ec61d464b74c
2010-01-30 05:25:21 +00:00
kintel 191dc4857c header file reorg
git-svn-id: http://svn.clifford.at/openscad/trunk@365 b57f626f-c46c-0410-a088-ec61d464b74c
2010-01-30 04:26:05 +00:00