Commit Graph

9947 Commits

Author SHA1 Message Date
enricoturri1966
919730e969 Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
Shader: gouraud_light - Gizmo Hollow
2022-03-03 14:01:34 +01:00
enricoturri1966
bceeb67c53 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_opengl_3 2022-03-03 13:31:01 +01:00
enricoturri1966
2d72931fac Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
Shader: gouraud_light - Gizmo Scale hovered grabbers
2022-03-03 13:30:22 +01:00
enricoturri1966
dccc8aea17 Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
Shader: gouraud_light - Gizmo Move hovered grabber
2022-03-03 13:17:19 +01:00
enricoturri1966
661ecdc142 Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
Shader: gouraud_light - Gizmo Cut
2022-03-03 13:10:47 +01:00
enricoturri1966
14c23a6526 Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
Shader: gouraud_light - GLGizmoBase grabbers
2022-03-03 13:04:00 +01:00
enricoturri1966
14f4345389 Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
Shader: gouraud_light - Thumbnails render
2022-03-03 12:36:44 +01:00
Lukas Matena
a3b9d1d82f Added a comment explaining activate_gizmo return value 2022-03-03 11:47:16 +01:00
Lukas Matena
34a0f6d970 Bumped up version to 2.4.1-rc1 2022-03-03 11:16:57 +01:00
enricoturri1966
3003db411f Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
Shader: gouraud_light - GCodeViewer shells
2022-03-03 09:56:13 +01:00
enricoturri1966
8d43a854c6 Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
Shader: gouraud_light - Sequential view marker
2022-03-03 09:46:04 +01:00
enricoturri1966
a3753c9d9c Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
Shader: gouraud_light - Bed model
2022-03-03 09:29:54 +01:00
enricoturri1966
8315f43ed0 Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
Shader: gouraud_light - Bed axes
2022-03-03 09:21:52 +01:00
enricoturri1966
abb5f5f99a Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
Shader: flat - GLGizmoPainterBase::m_circle
2022-03-03 08:40:12 +01:00
enricoturri1966
a6e84aec20 Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
Shader: flat - Gizmo SLA Supports points
2022-03-02 15:10:34 +01:00
enricoturri1966
3165a4d0d5 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_opengl_3 2022-03-02 14:32:30 +01:00
enricoturri1966
5621f00ee6 Some refactoring into GLGizmoSlaSupports::render_points() 2022-03-02 14:31:24 +01:00
enricoturri1966
bf57d022d4 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_opengl_3 2022-03-02 13:28:42 +01:00
enricoturri1966
4990558dee Tech ENABLE_GLBEGIN_GLEND_REMOVAL - Fixed a few bugs when the tech is disabled 2022-03-02 13:28:20 +01:00
enricoturri1966
b4f9d91b73 Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
Shader: flat - debug tech PRUSASLICER_TRIANGLE_SELECTOR_DEBUG
2022-03-02 13:07:36 +01:00
enricoturri1966
5cf6219f3e Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
Shader: flat - GLGizmoPainterBase::s_sphere
2022-03-02 12:21:59 +01:00
enricoturri1966
a07e02f5ab Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_opengl_3 2022-03-02 12:11:33 +01:00
enricoturri1966
5193a15852 Tech ENABLE_GLBEGIN_GLEND_REMOVAL - Use 2D vertices to render GLGizmoPainterBase circle 2022-03-02 12:10:02 +01:00
enricoturri1966
93afbd551b Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
Shader: flat - Gizmo Hollow picking
2022-03-02 11:56:09 +01:00
enricoturri1966
278ec6fe93 Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
Shader: flat - Layers editing
2022-03-02 10:12:44 +01:00
enricoturri1966
1959522c46 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_opengl_3 2022-03-02 08:32:13 +01:00
enricoturri1966
5f9aeb1e38 Removed unneeded pairs glPushMatrix()/glPopMatrix() 2022-03-02 08:30:00 +01:00
enricoturri1966
0d001ce84f Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
Shader: flat - Rectangle selection
2022-03-01 15:39:00 +01:00
enricoturri1966
cc1d3b738d Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
Shader: flat - Selection
2022-03-01 13:03:49 +01:00
enricoturri1966
f4cf9494d0 Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Some refactoring 2022-03-01 12:00:29 +01:00
enricoturri1966
282b3d2d6b Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
Shader: flat - MeshClipper
2022-03-01 11:13:44 +01:00
enricoturri1966
a5ef78b8fd Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
Shader: flat - Gizmo Scale
2022-03-01 11:01:12 +01:00
enricoturri1966
76f3829ecb Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
Shader: flat - Gizmo Rotate
2022-03-01 10:48:38 +01:00
enricoturri1966
0376571a93 Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
Shader: flat - Gizmo Move grabber extension
2022-03-01 10:10:04 +01:00
enricoturri1966
bc3341160b Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_opengl_3 2022-03-01 09:56:10 +01:00
enricoturri1966
3b53ba7865 Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
Shader: flat - Gizmo Move
2022-03-01 09:56:00 +01:00
enricoturri1966
5377e4c43b Removed empty DoubleSliderUtils.hpp 2022-02-28 15:53:12 +01:00
enricoturri1966
d766627099 Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
Shader: flat - Gizmo Place on face
2022-02-28 15:11:14 +01:00
enricoturri1966
7c9ac342de Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
Shader: flat - Gizmo Cut
2022-02-28 14:55:08 +01:00
enricoturri1966
8c8f0b32a7 Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
Shader: flat - Picking for base gizmo grabbers and gizmo rotate grabber extensions
2022-02-28 14:33:49 +01:00
enricoturri1966
78a93acb5b Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
Shader: flat - SLA caps
2022-02-28 12:50:43 +01:00
enricoturri1966
d0511b332b Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
Shader: flat - Camera target
2022-02-28 12:39:00 +01:00
enricoturri1966
5b1c9a34d6 Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
Shader: flat - Volumes picking pass
2022-02-28 12:05:08 +01:00
enricoturri1966
507dda6641 Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
Shader: flat - Model sequential print clearance
2022-02-28 11:23:46 +01:00
enricoturri1966
b766902fe2 Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
Shader: flat - Model non-manifold edges
2022-02-28 11:14:07 +01:00
enricoturri1966
df7be964e0 Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
Shader: flat - Model sinking contour
2022-02-28 11:10:03 +01:00
enricoturri1966
a5ff37013b Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders. 1st installment.
Shader: flat - Default bed
2022-02-28 10:41:01 +01:00
enricoturri1966
2379588196 Tech ENABLE_GLBEGIN_GLEND_REMOVAL - Fix in GLGizmoRotate::render_angle_arc():
Tech ENABLE_GLINDEXEDVERTEXARRAY_REMOVAL - Fix in GLModel::render()
2022-02-28 10:21:03 +01:00
enricoturri1966
b4c11dfc83 SPE-1202 - Fixed project name after loading a 3mf file whose path contains diacritics by double clicking (might be a fix of #7681, #7173 and #7845) 2022-02-25 14:11:06 +01:00
Vojtech Bubnik
97fb6d22dd Follow-up to 8aefe3fc90
Suppress the G-code find / replace substitutions for the non-G-code
    sections (comment blocks) at the start and at the end of the G-code file.
This commit extends the suppressed blocks for G-code find / replace
to placeholders for initial / final M73 commands and over the trailing
G-code comments.
Fixes gcode substitution: replacing comments removes initial and final M73 commands
2022-02-25 12:20:33 +01:00
enricoturri1966
1e9951dec5 Follow-up of 5b5fdfba01 - Removed member variable Selection::m_dragging
It was used only in ObjectManipulation::update_if_dirty() to avoid the update the sidebar reset and mirror button, which results in a slow down of the GUI, while dragging objects/gizmos in the 3D scene

A call to GLCanvas3D::is_dragging() is used instead
2022-02-25 11:42:42 +01:00
enricoturri1966
5b5fdfba01 Follow-up of 3cd15ac005 - Fixed update of dragging state of selection 2022-02-24 14:49:53 +01:00
Lukas Matena
e058f794d9 Merge branch 'stable' 2022-02-24 13:05:05 +01:00
Filip Sykala
3cd15ac005 Merge branch 'master' into fs_mouse 2022-02-23 16:25:44 +01:00
enricoturri1966
b155d1a2c3 Follow-up of 1eac357739 - Fixed color of volumes after creation 2022-02-23 15:40:25 +01:00
enricoturri1966
b4516396fe SPE-1202 - Fixed project name after loading a 3mf file whose path contains diacritics by double clicking 2022-02-23 14:56:16 +01:00
Filip Sykala
0d48cf5ab9 Merge branch 'master' into fs_mouse 2022-02-23 14:43:42 +01:00
enricoturri1966
c78ee8f936 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2022-02-23 14:27:19 +01:00
enricoturri1966
148ed7fee4 Follow-up of 1eac357739 - Fixed warning 2022-02-23 14:27:10 +01:00
Lukas Matena
0a280be8d0 Placeholder parser fixes 2022-02-23 13:44:26 +01:00
enricoturri1966
3bdc6e49c1 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2022-02-23 13:39:59 +01:00
enricoturri1966
1eac357739 Tech ENABLE_GLINDEXEDVERTEXARRAY_REMOVAL - Replace GLIndexedVertexArray with GLModel: GLVolume geometry + removed class GLIndexedVertexArray from codebase 2022-02-23 13:39:54 +01:00
Lukas Matena
d3e7a9613e Fix of cut gizmo: contour placed incorrectly with elevated objects 2022-02-23 11:01:02 +01:00
Lukáš Hejl
33fe1c44b4 Fixed 'illegal qualified name in member declaration' reported in #7959. 2022-02-22 17:34:09 +01:00
tamasmeszaros
4ed411f211 Fix tbb assert when grainsize is lower then 1 2022-02-22 12:43:06 +01:00
Lukáš Hejl
dbc3cfc004 Fixed an issue that, in some cases, an inner brim was not generated. 2022-02-22 12:39:10 +01:00
tamasmeszaros
cc788ebb64 Fix and merge PR #7809 2022-02-22 11:36:27 +01:00
Yuri D'Elia
0ffcfd8393 Use namespaces to link against libcereal >= 1.3.1
Create an alias for previous versions.
2022-02-22 11:20:03 +01:00
Yuri D'Elia
3a821d6752 Add missing declaration/includes (fix non-PCH build) 2022-02-21 11:15:31 +01:00
Yuri D'Elia
fe14c547fe Show GLEW error string on glewInit() initialization errors 2022-02-21 11:15:19 +01:00
Vojtech Bubnik
8aefe3fc90 Fix of gcode_substitutions will cause errors in prusaslicer_config dump at the end of gcode #7952
Suppress the G-code find / replace substitutions for the non-G-code
sections (comment blocks) at the start and at the end of the G-code file.
2022-02-21 11:04:43 +01:00
Vojtech Bubnik
6937b34fdc get_wraped_wxString(): Wrapping on '\' on Windows.
Deleting all G-code substitutions: Added a Cancel button.
2022-02-21 09:59:51 +01:00
Lukáš Hejl
945bebd224 Follow-up to e20d041fc9: Fixed a wrong calculation of indices when object instances were used.
Also, it was fixed polygon intersection detection, which was not working when a polygon intersected another polygon by only one edge.
2022-02-18 16:45:50 +01:00
tamasmeszaros
f3384c835f Merge branch 'tm_sla_archive_tests' 2022-02-18 14:55:06 +01:00
tamasmeszaros
b407540f26 Downgrade log message from sla support tree creation 2022-02-17 13:44:53 +01:00
tamasmeszaros
66f60de556 SLAArchive framework refactor 2022-02-17 12:50:40 +01:00
enricoturri1966
6c397e291c Removed debug code committed by mistake 2022-02-16 10:18:47 +01:00
enricoturri1966
3633112148 Follow-up of 7150e0adda - Fix in clamping max bounding box to avoid z-fighting in gcode preview 2022-02-16 10:17:57 +01:00
Lukáš Hejl
5d72f18dc6 Follow-up to a4ecf2f2a6. Refactoring of the function for removing duplicate points. 2022-02-16 09:20:45 +01:00
Lukáš Hejl
eef741b095 Fixed a copy-paste typo that could lead to duplicate edges in MMU_Graph in the multi-material segmentation. 2022-02-16 09:20:41 +01:00
Vojtech Bubnik
3e9e3fd102 Follow-up to 58d64bae77
Disabled check for "G92 E0" in layer change G-code for other firmware types
than Marlin 2 and Marlin Legacy. We don't know whether other firmware
flavors are sensitive to E axis accumulation error and we know that
RepRapFirmware is not.

Fixes #7846
2022-02-14 15:11:19 +01:00
tamasmeszaros
b6fe41d5ab Fixes for pwmx format PR 2022-02-14 14:42:47 +01:00
enricoturri1966
5fcb618f96 Tech ENABLE_GLBEGIN_GLEND_REMOVAL - Fixed bug in rendering gizmo rotate 2022-02-14 14:23:07 +01:00
Vojtech Bubnik
a062a889d8 Follow-up to a1746e3e66
Fix for #7849 - "Save Project" command doesn't work properly
2022-02-14 14:13:48 +01:00
enricoturri1966
14b7d36070 #7906 - Port of 296041da38 'Fixed 'Export as .stl' scaling not applied on scaled object instances' 2022-02-14 13:58:43 +01:00
Lukáš Hejl
5e78203241 Added missing includes (GCC11.1 without PCH). 2022-02-14 10:47:39 +01:00
Vojtech Bubnik
0508754033 SLA SVG export: Using string_view literals to avoid unnecessary
std::string allocations and faster string additions
(length of a string_view literal is known without having to
iterate to the trailing NULL).
2022-02-14 09:54:05 +01:00
rtyr
732bc61092
Merge pull request #7917 from ole00/sla_pwmx_export_rebase01
Added support for Anycubic Photon Mono X SLA printer and its native export format.
2022-02-14 08:59:52 +01:00
Lukáš Hejl
69019ae4bb Added a missing include (GCC11.1 without PCH). 2022-02-14 08:20:57 +01:00
ole00
7685e70743 SLA: added pwmx format exporter
Pwmx format is used by Anycubic Photon Mono X printers.
File format structure and rle encoding implemented according to:
https://github.com/sn4k3/UVtools
https://github.com/ole00/pwmx_info
2022-02-12 12:55:22 +00:00
enricoturri1966
0835e117d5 Refactoring in GLCanvas3D::LayersEditing::render_volumes() 2022-02-11 12:06:48 +01:00
enricoturri1966
5089d1460d Removed obsolete member variable GLCanvas3D::m_color_by 2022-02-11 11:47:29 +01:00
enricoturri1966
0c74081f7d Follow-up of afcac6e2ea - Fixed GLGizmoSlaSupports::render_points() 2022-02-11 11:29:00 +01:00
Filip Sykala
ff713c23ac Remove warning
Remove unused right_up event call
2022-02-11 10:12:57 +01:00
enricoturri1966
c9ff260d13 Tech ENABLE_GLBEGIN_GLEND_REMOVAL - SLA caps rendered using GLModel 2022-02-11 09:15:56 +01:00
enricoturri1966
aa4714a239 Tech ENABLE_GLBEGIN_GLEND_REMOVAL - Removed OpenGL legacy calls from GLCanvas3D::init() 2022-02-10 15:17:24 +01:00
enricoturri1966
a28dea0617 Follow-up of 6b041429f6 - Fixed uvmapping of printbed texture 2022-02-10 15:11:22 +01:00
Filip Sykala
1fa3a236a5 Fix hollowing mouse click 2022-02-10 14:58:41 +01:00
enricoturri1966
fa1ff1c357 Tech ENABLE_GLBEGIN_GLEND_REMOVAL - Another refactoring to simplify client code of GLModel::Geometry 2022-02-10 14:39:02 +01:00
Filip Sykala
46044a210f Fix SLA supports partialy 2022-02-10 14:06:49 +01:00