Commit Graph

30 Commits (master)

Author SHA1 Message Date
Marius Kintel 167b8825f7 Fixed bug reversing result of is_nan(), causing normals vectors to sometime be exported as 0 0 0. Fixes #1317 2015-04-21 01:33:25 -04:00
Marius Kintel b13075d2a5 #1225 Fix nan or inf normal vector output 2015-02-23 21:21:31 -05:00
Marius Kintel 1c52fad1d3 Moved libtess2-based tessellation to GeometryUtils, related refactoring 2015-01-15 14:47:05 -05:00
Marius Kintel 819f5d085f Moved Polygon typedef out of PolySet class 2014-11-26 15:22:15 -05:00
Marius Kintel e70bc04197 Colormap functionality from pull request #816, mostly by Don Bright, includes new colormaps by shaina 2014-08-14 17:16:24 -04:00
Marius Kintel 81d92f2254 Some cleanup of old eigen2 workarounds. Added fix to support cameras looking down the Z axis 2014-06-21 12:44:38 -04:00
Ben Gamari ff466c2189 Switch from #define guards to #pragma once
As well as a few whitespace cleanups
2014-04-28 13:32:19 -04:00
Don Bright 2f4617ddef remove #ifdefs for eigen version 2 ( see issue #532 ) 2014-04-26 23:14:24 -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 5aa01edb93 Fix potential memory alignment issue with eigen. This might make us dependent on eigen3, but it's about time anyway 2013-11-01 12:10:03 -04:00
don bright 13b0fe4b3f rework Camera using boost::variant. first working --gimbalcam version 2013-02-27 00:37:37 -06:00
don bright 50489c4287 begin to implement --viewport option, by adding Camera class + children 2013-02-25 22:32:57 -06:00
don bright d847039c96 fix bounding box function definition errors 2013-01-24 04:57:55 +01:00
don bright a563c84bcf move bounding box helper functions to linalg. put bbox code in export_png 2013-01-24 04:49:16 +01:00
Marius Kintel 37f14683ab Compile fix for eigen3 2012-08-21 21:07:17 -04:00
Marius Kintel a629560cee Merge pull request #186 from openscad/issue185
Issue185
2012-08-21 17:31:28 -07:00
don bright f1d4a52f4c dont crash if there's infinity or NaN in transformation matrix 2012-08-21 01:33:13 +02:00
don bright c4d68588a6 modify build system to auto-detect eigen3, and fallback to eigen2 2012-08-19 00:14:17 +02:00
don bright 9f6819e685 initial rework to enable eigen3 per issue #174.
1. enable eigen3 in qmake build system
2. convert Transform3d and cwise() per the eigen2->eigen3 porting faq online
3. get rid of 'using namespace boost::filesystem' as it conflicts with eigen3
2012-08-18 22:28:36 +02:00
Marius Kintel 4cbdbf9827 Ported remaining color handling away from Qt 2012-01-25 21:13:03 +01:00
Marius Kintel 67fe0adb90 Ported color handling away from Qt 2012-01-25 02:48: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 9fa18d5392 Fixed CSG regression reported by Ed Nisley; bounding boxes are now transformed correctly 2011-12-23 14:33:40 +01:00
Marius Kintel 81e3eb4102 Minor Eigen namespace update 2011-12-19 19:49:52 +01:00
Marius Kintel 5697912969 Minor eigen include fix 2011-10-30 02:16:27 +01:00
don bright 17ccbace5f improve documentation. move EIGEN_DONT_ALIGN to makefile. win32 build fixes. 2011-10-15 15:48:41 -05:00
don bright a1c698f422 enable build of cgalpngtest under windowsXP 2011-10-10 18:01:51 -05:00
Marius Kintel 46ccaf3716 merged 2011-10-04 21:06:57 +02: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