Lukas Matena
e6317cdefb
Merge branch 'lm_aabb_improvements'
2020-05-27 02:15:54 +02:00
Lukas Matena
55395e046f
EigenMesh3D does not store a copy of the mesh
...
Instead, it stores a pointer to extern TriangleMesh (which must not be destroyed before the EigenMesh3D object)
2020-05-27 00:51:11 +02:00
Lukas Matena
1f833921a2
More code cleaning,...
...
optimizations regarding normals calculation
removed unused EigenMesh3D(const Contour3D &other) constructor
removed unused class si_result
2020-05-27 00:51:11 +02:00
Lukas Matena
d85fa8e9ab
EigenMesh3D now stores TriangleMesh inside, not a mesh in Eigen format
...
Rotfinder was apparently building the AABB tree needlessly
2020-05-27 00:51:11 +02:00
Lukas Matena
9224a6a3e6
Removed some unused code
...
- removed define USE_AABB_INDIRECT (which switched between old and new AABB implementation)
- removed define SLIC3R_SLA_NEEDS_WINDTREE (relied on igl and was not used anyway)
- new define SLIC3R_HOLE_RAYCASTER (hides currently unused code)
- slight include cleanup
- removed obsolete source file SupportTreeIGL.cpp
2020-05-27 00:51:11 +02:00
Lukas Matena
cdf80c3b3f
Switched to new AABB tree implementation for raycasting
2020-05-27 00:13:38 +02:00
Lukas Matena
6e716faa1c
Merge branch 'lm_includes_warnings'
...
No functional changes (hopefully).
2020-05-26 16:14:09 +02:00
Lukas Matena
32a353058f
Fixed few warnings
2020-05-26 16:06:11 +02:00
Lukas Matena
3e855d36dc
Fixed unit tests after previous include manipulations
2020-05-26 15:33:44 +02:00
Lukas Matena
94b0ab603f
Include cleanup: Selection.hpp
...
It does not need 3DScene.hpp and Model.hpp
And it does not to be included by GLGizmoBase.hpp
2020-05-26 13:46:59 +02:00
Lukas Matena
c2cd430941
Few more include chains broken
2020-05-26 13:46:59 +02:00
Lukas Matena
02838eaa30
Slight include cleanup
2020-05-26 13:45:36 +02:00
Lukas Matena
cc5fe02cde
Include cleanup: GUI_ObjectManipulation.hpp, GUI, GUI_Preview
2020-05-26 13:45:36 +02:00
Lukas Matena
fb9d8b2025
Include cleanup: do not include Model.hpp from 3DScene.hpp
2020-05-26 13:45:36 +02:00
YuSanka
f78f5c85be
MSW specific issue: Fixed scaling of the Tabs when They are in the separated dialog
2020-05-25 10:21:30 +02:00
YuSanka
7e88e20402
Fixed a bitmap getting for the case, when application was started in Light mode and then switched to the Dark
2020-05-25 09:41:19 +02:00
YuSanka
c7ef1feaf0
Added missed icons for the dark mode.
...
Fixed typos from the previous commit
2020-05-22 17:05:21 +02:00
Vojtech Bubnik
180742ccaa
Pulling patched boost::polygon from github prusa3d/polygon.
2020-05-22 15:33:11 +02:00
YuSanka
a56bbea140
Reworked sys_color_changed() functions
...
Fixed OSX specific bugs:
- toolbar flashing for some mainframe sizes (Retina specific)
- size of mainframe when settings layout in slNew mode
Added missed icons to the "white" folder
2020-05-22 15:26:35 +02:00
Vojtech Bubnik
c09d702045
Show Eigen vectorization support in system info dialog.
2020-05-22 11:36:10 +02:00
Vojtech Bubnik
ac1f24e5c9
AABB: Some further polishing and a reference to an SSE implementation
...
of the 3D Box vs. ray intersection implementation.
2020-05-22 11:35:49 +02:00
Vojtech Bubnik
925bf1af70
Shiny profiler: Increased resolution of text output to 2 decimals
2020-05-22 09:29:21 +02:00
Vojtech Bubnik
dc46589a8e
AABB - triangle intersection wrapped to mimize copying into Vector3D
2020-05-22 09:29:21 +02:00
Vojtech Bubnik
c64b7b2e21
Fix of the previous commit.
2020-05-22 09:29:21 +02:00
Vojtech Bubnik
7b6dff3f03
Little simplification of Point to boost::polygon bindings
2020-05-22 09:29:21 +02:00
Vojtech Bubnik
4c365ad583
Replaced many defines in libslic3r.h with constexpr,
...
removed some macros to support old visual studio compiler.
2020-05-22 09:29:21 +02:00
Vojtech Bubnik
99514ba42b
WIP: AABBTreeIndirect - optimized ray_box_intersect_invdir() test,
...
sandbox for comparing the AABBTreeIndirect with libigl::AABB
2020-05-22 09:29:21 +02:00
Vojtech Bubnik
2b8f655020
WIP AABBIndirect: Documentation, polishing.
2020-05-22 09:29:21 +02:00
Vojtech Bubnik
eeb9590d28
WIP: own AABBTreeIndirect, builds up the tree 4x quicker than libigl.
2020-05-22 09:29:21 +02:00
Vojtech Bubnik
abf279fc44
Fixed compilation with Shiny profiler.
2020-05-22 09:29:21 +02:00
Lukas Matena
02e345159d
Grey out wipe tower related config values when wipe tower is disabled
2020-05-22 09:23:26 +02:00
YuSanka
db32c1f15a
Changed processing of a wxEVT_SYS_COLOUR_CHANGED event.
...
Only UI is updated. The application doesn't recreated now
2020-05-21 17:29:00 +02:00
YuSanka
4348b177d6
Added processing of a wxEVT_SYS_COLOUR_CHANGED event.
...
Deleted scale from ImGuiWrapper::load_svg(), because it's no needed and it makes icons bad scaled on Retina displays
2020-05-21 14:18:57 +02:00
Lukas Matena
ae7bb123a9
Fix win build
2020-05-21 11:27:47 +02:00
Lukas Matena
35c8c84631
Fix of #3965 (properly disable linear advance with RepRap firmware)
2020-05-21 10:47:50 +02:00
Lukas Matena
a3646f843c
Merge branch 'lm_gizmos_improvements'
2020-05-21 10:25:44 +02:00
Lukas Matena
ff0630cad2
FDM supports gizmo: fixed rendering on mirrored objects
2020-05-21 10:25:31 +02:00
Lukas Matena
feb591782f
FDM supports gizmo: fixed a crash when trying to paint on the clipping plane
2020-05-21 10:25:31 +02:00
Lukas Matena
9c365da828
Removed immediate OpenGL mode calls in place on face gizmo
2020-05-21 10:25:31 +02:00
Lukas Matena
6e597bb1ee
Removed immediate OpenGL mode calls for clipping plane rendering
2020-05-21 10:25:31 +02:00
Lukas Matena
ac8491b599
SLA supports gizmo bugfix: show supports when not in editing mode
...
The bug was introduced after 2.2.0 release
2020-05-21 10:25:31 +02:00
Lukas Matena
581892cb0d
FDM supports gizmo uses neighbor data from stl_file
2020-05-21 10:25:31 +02:00
YuSanka
8afd273c4b
Implemented "from/to imperial units conversation" for loaded objects and volumes
2020-05-20 20:07:31 +02:00
YuSanka
0b60d45cf3
Typo fix for the commit fce1943b94
2020-05-19 18:23:39 +02:00
YuSanka
fce1943b94
OSX specific bug fixing
2020-05-19 17:00:41 +02:00
Lukas Matena
d0e0387b82
Merge branch 'lm_fdm_gizmo_experiments'
2020-05-18 16:08:29 +02:00
Lukas Matena
1a38d39f82
FDM supports gizmo: slight code refactoring
2020-05-18 16:08:21 +02:00
Lukas Matena
ed55ebba55
FDM supports gizmo: Further attempts to increase performance when painting
2020-05-18 16:08:21 +02:00
Lukas Matena
e312f3be43
FDM supports gizmo: caching triangle normals in order to increase performance
2020-05-18 16:08:21 +02:00
Lukas Matena
e2ccc6ec0c
FDM supports gizmo: trying to increase performance during painting
2020-05-18 16:08:21 +02:00