Commit Graph

524 Commits (3c69b711288ad6f7c0290e8f907da5a988180e9d)

Author SHA1 Message Date
Don Bright 3572251a91 commit Marius' linalg.cc 2011-12-24 07:50:24 -06: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 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 91d9d9c4b5 Added note about tree pruning 2011-12-21 22:47:00 +01:00
Marius Kintel 51c28e8a5b fix for normal fix: would fail in some extreme cases (e.g. if there are
components with very different orders of magnitude, as may happen when floating point errors fail to produce a 0)
2011-12-21 22:20:27 +01:00
Marius Kintel 3e419ce318 bugfix: Sometimes, the CSG normalization created extremely large trees. Rewrote the algorithm based on the original Goldfeather paper. Fixes #44 2011-12-21 21:48:01 +01:00
Marius Kintel 6fd779c2be bugfix: render() statement containing only 2D geometry caused a crash 2011-12-21 18:03:23 +01:00
Marius Kintel 8d10aa2982 bugfix: surface() modules with center=true wasn't exactly centered in the XY plane 2011-12-21 17:43:01 +01:00
Marius Kintel 8c31bac6c7 Patch to fix not-unitized normal vectors due to floating point calculations. Patch by Xyne. 2011-12-21 17:06:13 +01:00
Marius Kintel 81e3eb4102 Minor Eigen namespace update 2011-12-19 19:49:52 +01:00
Marius Kintel 32a888c873 Merge branch 'master' of https://github.com/donbright/openscad into donbright-master 2011-12-19 19:42:13 +01:00
Marius Kintel 1d2c59184c Changed the default value of to 2 to avoid breaking existing scripts which assume a certain default tesselation behavior 2011-12-19 16:55:01 +01:00
Marius Kintel 80f50f0883 bugfix: The parameter yielded half as many segments as expected 2011-12-19 16:31:38 +01:00
Don Bright c2d94835b0 translate old style viewport mouse drag into Eigen math (see T. Hunter bug rpt) 2011-12-18 15:55:12 -06:00
Don Bright 541db676ee make view rotation work like 2011.06 release. (per Triffid Hunter bug rpt) 2011-12-18 13:17:24 -06:00
Don Bright fb28bc8576 initialize variables in glview.cc 2011-12-18 13:04:26 -06:00
Don Bright 1a01aff200 fix zoomed-in panning (per Triffid Hunter bug report) 2011-12-18 13:03:12 -06:00
don bright 21c4bbe7d4 fix windows MSVC build, fix testing.txt to reflect win32 build 2011-12-14 02:36:37 -06:00
Marius Kintel 51c5789516 Added note about GL deprecation 2011-12-13 01:50:36 +01:00
Marius Kintel 3f6a2f0fbb Improved sphere tesselation for low resolution spheres 2011-12-13 01:24:53 +01:00
Marius Kintel 4251775d3b bugfix: Make include also search librarydir 2011-12-12 21:53:21 +01:00
Marius Kintel e58ffa958b bugfix: Default font size was set to 0 - will now be 12 2011-12-12 01:13:17 +01:00
Marius Kintel f211077d25 Fixed render() crash reported by tjhowse. It still fails, but at least doesn't crash anymore 2011-12-12 00:48:07 +01:00
Marius Kintel 832edd8c30 Merge pull request #38 from donbright/cakebaby
Cakebaby
2011-12-11 14:46:24 -08: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 647fdf5f98 bugfix: forgot to initialize openglbox 2011-12-09 17:56:56 +01:00
don bright a4a64e7c26 Merge remote-tracking branch 'upstream/master' into cakebaby 2011-12-09 10:49:55 -06:00
don bright 51f24b998b MSVC compile fix 2011-12-09 09:47:13 -06:00
Marius Kintel ccb15d52b9 Added pixelformat info to OpenGL info 2011-12-09 13:17:35 +01:00
Marius Kintel f577f91d25 Better warnings and GL info related to OpenCSG capabilities and OpenGL 1.x 2011-12-09 03:43:06 +01:00
Marius Kintel 679b8d05c8 bugfix: 2D hull() now works with for loops. Thanks to nophead to reasserting this bug. 2011-12-07 05:21:11 +01:00
Marius Kintel bb0ec94290 #undef NDEBUG before including any CGAL headers 2011-12-06 01:43:44 +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
Marius Kintel faf4a64851 Killed some warnings 2011-12-04 22:20:19 +01:00
Marius Kintel 24d7edd8ca fix: Ctrl-Left drag on Mac now behaves as right-drag on other platforms 2011-11-30 22:47:13 +01:00
Marius Kintel ad0f9f59c9 bugfix: Using the % modifier caused the cache to return an empty object even after removing the % 2011-11-29 00:18:43 +01:00
Marius Kintel 4e98f5552d Merge branch 'master' of github.com:openscad/openscad 2011-11-28 01:50:48 +01:00
Marius Kintel 97f61b07e6 Make Ctrl-Q quit - I can't believe this has gone unnoticed until now 2011-11-28 01:50:15 +01:00
Marius Kintel cd33efb4ed GLXEW mixed with eigen2 causes weird compiler errors. This is a temporary fix 2011-11-28 01:41:36 +01:00
Marius Kintel 01f1a2f9cf Removed some more Qt dependencies 2011-11-28 01:00:21 +01:00
Marius Kintel 10185d2de8 More correct preference and warning settings for OpenCSG capability 2011-11-27 23:02:38 +01:00
Marius Kintel 3bf98dd19f Check for GL extensions, not just OpenGL 2, before dismissing OpenCSG capabilities. 2011-11-27 22:52:28 +01:00
Marius Kintel 47bd0b639b bugfix: We didn't correctly set back CGAL error behaviour after changing it 2011-11-26 23:31:11 +01:00
Marius Kintel 60e4c81b43 Support for traversal pruning and abortion 2011-11-25 22:41:36 +01:00
Marius Kintel 42d7099089 Attempt to batte floating point rounding differences for testing purposes 2011-11-24 23:10:46 +01:00
Marius Kintel 3f0a991a3d Bail if CGAL < 3.6 2011-11-24 18:09:17 +01:00
Marius Kintel e0b5f3f33d Output relative filenames in warnings for echotest to give similar results across machines 2011-11-23 16:55:03 +01:00
Marius Kintel 73092dd4c8 Added support for 3D object in the hull() module 2011-11-23 16:11:48 +01:00
Marius Kintel b211fe5158 Ported away from Qt 2011-11-21 22:39:26 +01:00
Marius Kintel 077c144c86 Merge branch 'cache' 2011-11-21 21:00:44 +01:00