Commit Graph
100 Commits
Author SHA1 Message Date
tamasmeszaros 7156ed9987 Remove redundant code 2020-01-29 14:13:21 +01:00
tamasmeszaros 6988752d05 Re-apply fix for Win32 2020-01-28 15:24:23 +01:00
tamasmeszaros 9d0d0cde21 Fix broken build on non-linux platforms 2020-01-28 15:08:07 +01:00
tamasmeszaros 3e8ef6819a Merge branch 'tm_cgal_fix_SPE-1087' 2020-01-28 14:50:50 +01:00
tamasmeszaros 04a58e41c4 Fix cgal when used from distro package
fix CMake -frounding-math propagation from CGAL.
2020-01-28 14:49:39 +01:00
tamasmeszaros be8f464bf8 Remove some gtk warnings on application start. 2020-01-27 14:31:49 +01:00
tamasmeszaros 71574b2dd4 Merge branch 'tm_fix_mac_build' 2020-01-27 13:56:28 +01:00
tamasmeszaros 3e5dce771f Set OpenVDB_FOUND if no debug but release is there and not on MSVC 2020-01-27 13:51:57 +01:00
tamasmeszaros 9f085c133a Try to fix cmake - openvdb on mac 2020-01-27 12:45:20 +01:00
tamasmeszaros 6945a20e9a Merge branch 'tm_sla_full_config' 2020-01-24 15:25:18 +01:00
tamasmeszaros 848fe4750f Add prusaslicer.ini to sl1 output zip 2020-01-24 15:23:59 +01:00
tamasmeszaros 743a03a8c2 append full config to sla zipped ini
SPE-1081
2020-01-24 14:31:31 +01:00
tamasmeszaros fd11dcd44b Merge branch 'tm_hollowing' 2020-01-24 14:27:23 +01:00
tamasmeszaros 7591637c89 Bugfixes and refactoring for SLA backend
remove duplicate code


Mark conversion constructors of EigenMesh3D `explicit`


Working on mesh simplification for hollowed interior


Fix bug SPE-1074: crash with empty supports and disabled pad.


fix regression after refactor


Remove unfinished code


Fix missing includes and dumb comments
2020-01-24 14:26:19 +01:00
tamasmeszaros 9f6ad70f0b Merge branch 'lm_tm_hollowing' 2020-01-24 13:51:49 +01:00
tamasmeszaros c6a2b69419 32 bit MSVC workaround for CGAL 2020-01-24 13:41:37 +01:00
tamasmeszaros e05d38bdd0 Fix the previous fix 2020-01-24 12:35:50 +01:00
tamasmeszaros 6b0af43665 Use mesh boolean in the backend to drill holes. 2020-01-24 10:53:40 +01:00
tamasmeszaros 9989c4858f Fix missing atomic check from FindOpenVDB
It has to be re-checked and added as needed to the imported target link-line

SPE-1073
2020-01-24 10:12:37 +01:00
tamasmeszaros ef30270048 Merge branch 'lm_tm_hollowing' 2020-01-24 09:51:39 +01:00
tamasmeszaros b45e95877e Merge branch 'master' into lm_tm_hollowing 2020-01-23 17:43:18 +01:00
tamasmeszaros cb39f6b212 Use CheckAtomic differently 2020-01-23 17:20:02 +01:00
tamasmeszaros 81b7f437da update openvdb build patch to solve latomic 2020-01-23 16:29:08 +01:00
tamasmeszaros fde0803a89 Upgrade GMP version (link errors similar to RPI) 2020-01-23 13:45:20 +01:00
tamasmeszaros 75260eea12 Fix latomic linking on Mac
SPE-1079
2020-01-23 13:18:44 +01:00
tamasmeszaros 0d906cd3ab Merge branch 'tm_mesh_simplify' into lm_tm_hollowing 2020-01-23 10:58:39 +01:00
tamasmeszaros f8a5796ca5 add mesh simplification.
SPE-1072 
Working but flipped normals with the interior.
Testing on treefrog passed
Oversampling for hollowed mesh should not be less than 3x
Flip back normals after simplify and remove redundant test code.
2020-01-23 10:58:18 +01:00
tamasmeszaros 858e936e52 Fix incorrect filename case in test_3mf 2020-01-21 11:10:34 +01:00
tamasmeszaros 053818d028 Fix MPFR being built as shared library 2020-01-21 10:12:45 +01:00
tamasmeszaros 87f2578ee7 Try to fix libatomic linkage on raspbian
SPE-1073
2020-01-20 12:50:48 +01:00
tamasmeszaros 6cfad6848f Fix incorrect filename case in test_3mf 2020-01-20 11:20:18 +01:00
tamasmeszaros ce34ae4716 Try to fix libatomic linkage on raspbian 2020-01-20 10:38:40 +01:00
tamasmeszaros 49678fe418 Fix FindOpenVDB on Linux 2020-01-17 12:51:01 +01:00
tamasmeszaros 70ecb634b7 fix gui artifacts on Windows 2020-01-16 15:38:59 +01:00
tamasmeszaros ea6844c31d Follow up for Windows build fixes 2020-01-16 15:19:46 +01:00
tamasmeszaros a1dc7a5c41 Fix build issues on Windows 2020-01-16 14:25:01 +01:00
tamasmeszaros fada7224f1 MeshBooleans with CGAL only 2020-01-16 14:31:31 +01:00
tamasmeszaros e6bdec4aa5 Remove wrapper around std::mt19937 2020-01-15 17:44:15 +01:00
tamasmeszaros 402ae12db2 Fix algorithm switching 2020-01-15 12:54:30 +01:00
tamasmeszaros 3ab246df6b Remove completely redundant code 2020-01-15 12:45:01 +01:00
tamasmeszaros a36c7c76cc Fix scene not being centered 2020-01-15 10:39:07 +01:00
tamasmeszaros 929e467df9 Merge branch 'tm_hollowing' into lm_tm_hollowing 2020-01-14 10:50:15 +01:00
tamasmeszaros e6244f7bdb Eliminate use of uninitialized variable. 2020-01-14 10:48:22 +01:00
tamasmeszaros ce49f0a294 Test sla support point generation determinism with seed parameter 2020-01-14 10:48:22 +01:00
tamasmeszaros 8af6890cab Remove test restriction for on-model supports pierce test 2020-01-14 10:48:22 +01:00
tamasmeszaros 256249fdaf Make sla support pierce tests repeatable 2020-01-14 10:48:22 +01:00
tamasmeszaros 6205524d75 Make support point generator deterministic. 2020-01-14 10:48:22 +01:00
tamasmeszaros 90fbbf401f Refactor model facing support generation.
Fix for touching junction when adding aux pillars.


Fix issue with overly long support bridges.
2020-01-14 10:48:22 +01:00
tamasmeszaros 45220e26c0 Fix zero elevation support maneuvers and comment to clarify the alg. 2020-01-14 10:48:22 +01:00
tamasmeszaros c0b90f68ab force creating static library for libnest2d 2020-01-09 17:12:40 +01:00
tamasmeszaros 7ac0e0a8c9 more raycaster tests, without repeating the hollowing every time 2020-01-09 16:57:11 +01:00
tamasmeszaros ee11e05cd6 Merge branch 'tm_bug_SPE-1067' 2020-01-09 14:22:30 +01:00
tamasmeszaros 7fd4800e7c Fix wrong bounding box calculation for initial arrange item. 2020-01-09 14:21:01 +01:00
tamasmeszaros 91ce19661b Merge branch 'tm_opencsg' into lm_tm_hollowing 2020-01-09 11:23:21 +01:00
tamasmeszaros e159344ce5 further fixes for X window crashes. 2020-01-09 11:22:24 +01:00
tamasmeszaros 578fcbc37c Performance improvements in raycaster 2020-01-08 17:12:06 +01:00
tamasmeszaros bb62f36df3 Add tests for EigenMesh3D raycaster with hole support.
Tests fail! Supports are intersecting the object when holes are added.
2020-01-08 17:11:22 +01:00
tamasmeszaros a3a99d7a07 Do not translate the normal of drainhole points. 2020-01-08 10:49:54 +01:00
tamasmeszaros f874b61881 Transform the position AND the normals of drainhole points 2020-01-08 10:10:24 +01:00
tamasmeszaros 7d55df052f repaint causes crash on linux 2020-01-08 09:39:48 +01:00
tamasmeszaros 6b482be74e Merge branch 'tm_opencsg' into lm_tm_hollowing 2020-01-08 08:58:21 +01:00
tamasmeszaros 451f04b590 Fix linux assertion 2019-12-20 20:18:23 +01:00
tamasmeszaros 3a185d7f57 fix windows widgets while playback 2019-12-20 19:57:34 +01:00
tamasmeszaros 083b557ec2 Display switching 2019-12-20 18:30:24 +01:00
tamasmeszaros 93d0bbd7ef Add boilerplate for shader based csg 2019-12-20 12:25:44 +01:00
tamasmeszaros 4f97a7122f Fix closing while playback 2019-12-20 01:21:25 +01:00
tamasmeszaros 4e5310d72f Merge branch 'tm_opencsg' into origin/lm_tm_hollowing 2019-12-19 16:11:04 +01:00
tamasmeszaros d3925abb13 Add some comments. 2019-12-19 16:10:34 +01:00
tamasmeszaros 9363344a6f Merge branch 'tm_opencsg' into lm_tm_hollowing 2019-12-19 15:27:55 +01:00
tamasmeszaros bb8a6b898f Save and load window size. Add fps average output. 2019-12-19 15:26:04 +01:00
tamasmeszaros 8126cdd507 Add command line options. Rename GLScene to Engine 2019-12-19 14:51:38 +01:00
tamasmeszaros 71ff0f9cae Merge branch 'tm_fix_pad' 2019-12-19 12:04:58 +01:00
tamasmeszaros 42ffc4e3c5 Fix polytree traversal.
Put back old traverse_pt and union_pt_chained
2019-12-19 11:27:19 +01:00
tamasmeszaros 2feb8421e9 Divide pad blueprint before its filtered.
Filtering may remove the outer pad and the division expects an outer part to be present.
2019-12-19 10:59:21 +01:00
tamasmeszaros bf44da0e37 Make it work with mesa sw renderer 2019-12-19 01:55:46 +01:00
tamasmeszaros fafc2a3510 Recording and playback works 2019-12-18 16:24:41 +01:00
tamasmeszaros 8f655242eb Fix for CGAL relocation fix. Wrong libdir was used. 2019-12-18 15:42:53 +01:00
tamasmeszaros 472c4c885d Separate fps counter and remove glut dependency 2019-12-18 12:00:28 +01:00
tamasmeszaros 4220124658 Add mpfr download mirror 2019-12-18 11:58:39 +01:00
tamasmeszaros c97aacd2d8 Officially move to C++17 for the whole PrusaSlicer source tree; 2019-12-18 11:53:28 +01:00
tamasmeszaros acfaff3741 Dont use glut for fps measure. 2019-12-17 18:39:01 +01:00
tamasmeszaros 2222b0cdc9 Grab the release in debug mode if there is no debug when not on msvc 2019-12-17 17:09:27 +01:00
tamasmeszaros e25cd1ce1a Grab the release in debug mode if there is no debug when not on msvc 2019-12-17 17:08:55 +01:00
tamasmeszaros ab1bcad8c7 Only consider openvdb debug if necessary. 2019-12-17 16:56:11 +01:00
tamasmeszaros 4e27faa236 Only consider openvdb debug if necessary. Add REQUIRED to openvdb 2019-12-17 16:53:45 +01:00
tamasmeszaros 9bf09e2874 Fix linking of OpenVDB in debug mode on multi conf generators. 2019-12-17 16:50:00 +01:00
tamasmeszaros 558529146c Fix opencsg example on Win32 2019-12-17 16:28:38 +01:00
tamasmeszaros 17de6ff51a Fix linking of OpenVDB in debug mode on multi conf generators. 2019-12-17 16:26:06 +01:00
tamasmeszaros 39fbb31db2 Merge branch 'tm_opencsg' into lm_tm_hollowing 2019-12-17 13:08:51 +01:00
tamasmeszaros d349f24021 Fix CGAL config script being non-relocatable 2019-12-17 13:06:49 +01:00
tamasmeszaros c3214e9f86 Fix CGAL config script being non-relocatable 2019-12-17 13:05:18 +01:00
tamasmeszaros 20e59cb0c7 Fix missing gmpxx from dep_GMP 2019-12-17 10:54:54 +01:00
tamasmeszaros c81b1fbbbd Fix missing gmpxx from dep_GMP 2019-12-17 10:51:31 +01:00
tamasmeszaros 695950b2e6 further simplification 2019-12-17 10:19:46 +01:00
tamasmeszaros 11b98b2241 Deal with cmake warnings caused by find CGAL 2019-12-17 10:12:37 +01:00
tamasmeszaros bb3b39016f Add ctl and fix applying opencsg params on the fly. 2019-12-16 18:49:44 +01:00
tamasmeszaros d14ff000e0 Merge branch 'tm_opencsg' into lm_tm_hollowing 2019-12-16 15:56:06 +01:00
tamasmeszaros 47ec708c3a Fix event dispatching to handlers 2019-12-16 15:55:49 +01:00
tamasmeszaros 5aaddd82a4 Remove bloat, add some clipping plane functionality. 2019-12-16 15:36:43 +01:00
tamasmeszaros 878f8a8ead Add convexity to csgsettings. Defer all rendering to Display. 2019-12-16 14:04:26 +01:00