Noisyfox and SoftFever
284c3e71eb
Some changes to gcode window toggles ( #2704 )
...
* Show gcode window automatically (#2572 )
* Move the show gcode toggle to view menu, and remember if gcode window is shown last time
* fix an issue when merging main branch
---------
Co-authored-by: SoftFever <softfeverever@gmail.com >
2023-11-29 21:19:56 +08:00
Noisyfox and zhou.xu
03a9014d3a
Show wireframe in MMU painter gizmo ( #2808 )
...
* Remove unused shader files
* Port wireframe shader from BBS
* Enable wireframe in MMU painter
Co-Authored-By: zhou.xu <zhou.xu@bambulab.com >
---------
Co-authored-by: zhou.xu <zhou.xu@bambulab.com >
2023-11-21 17:17:22 +08:00
SoftFever
5c64a0587a
Fix toolbar rendering on Windows ( #2784 )
...
Currently on windows, when you resize the window relatively small, the
end of the toolbar will be clipped like so:

This is what it look like on Linux/macOS:

This PR fixes this issue so it behaves like on Linux/macOS:

2023-11-19 19:10:01 +08:00
Noisyfox
a590d4cead
Fix toolbar rendering on Windows
2023-11-18 17:24:08 +08:00
Noisyfox
ee8ea0df04
Rewrite bed raycaster registering that fixes crash when creating new project
2023-11-10 23:02:11 +08:00
Noisyfox
483475ff48
Fix canvas background in dark mode
2023-11-08 09:14:16 +08:00
Noisyfox
090a9247cb
Cut: Fix model rendering
2023-11-04 11:41:11 +08:00
enricoturri1966
f72d42f920
Measure: Initial porting of Measure Gizmo
2023-11-04 11:41:10 +08:00
enricoturri1966
1561d65712
Sync most of the gizmos with latest PrusaSlicer
2023-11-04 11:41:10 +08:00
Filip Sykala
9dbb2dfe0d
Various gizmos refactoring
2023-11-04 11:41:10 +08:00
Filip Sykala
30af274d44
Separate GizmoManager on_move into gizmo itself
...
(cherry picked from commit prusa3d/PrusaSlicer@c751d6327d )
2023-11-04 11:41:10 +08:00
Noisyfox
005b83912d
Do not compile sla related gizmos
2023-11-04 11:41:10 +08:00
Filip Sykala
158bb47af3
Suggestion to detect volume modification instead of check some gizmos during dragging
...
(cherry picked from commit prusa3d/PrusaSlicer@96610ecea9 )
2023-11-04 11:41:10 +08:00
enricoturri1966
e4ec0cfc2e
Tech ENABLE_RAYCAST_PICKING - Method GLCanvas3D::_mouse_to_3d() modified to use the new scene raycaster instead of reading data from the depth buffer
...
(cherry picked from commit prusa3d/PrusaSlicer@a7af73795d )
2023-11-04 11:41:09 +08:00
enricoturri1966
d2d77456ac
Tech ENABLE_RAYCAST_PICKING - Rendering for rectangle selection made only inside the rectangle, on systems supporting framebuffers
...
Various other refactorings & fixes
(cherry picked from commit prusa3d/PrusaSlicer@39b1222b22 )
2023-11-04 11:41:09 +08:00
enricoturri1966
f0199159e7
Removed tech ENABLE_RENDER_PICKING_PASS
...
(cherry picked from commit prusa3d/PrusaSlicer@f45711e7e5 )
2023-11-04 11:41:09 +08:00
Noisyfox
6a40d3af16
Fix volume picking in cut gizmo
2023-11-04 11:41:09 +08:00
enricoturri1966
1cd421c4b1
Tech ENABLE_RAYCAST_PICKING - Raytraced picking of gizmos - Move Gizmo
...
(cherry picked from commit prusa3d/PrusaSlicer@df47ba7122 )
2023-11-04 11:41:09 +08:00
Noisyfox
cd1705e6eb
Implement plate picking
2023-11-04 11:41:06 +08:00
enricoturri1966
3577a259d5
Tech ENABLE_RAYCAST_PICKING - Raytraced picking of volumes
2023-11-04 11:41:06 +08:00
Noisyfox
65b6856262
Fix macos build
2023-11-04 11:41:06 +08:00
enricoturri1966
461fa63cbf
Tech ENABLE_LEGACY_OPENGL_REMOVAL - Fixed rendering of layer editing background on older OpenGL compatibility profile
...
(cherry picked from commit prusa3d/PrusaSlicer@642f64cb41 )
2023-11-04 11:41:06 +08:00
enricoturri1966
19ad0ca4d9
Tech ENABLE_LEGACY_OPENGL_REMOVAL - Fixed calculation of normal matrices sent to shaders
...
(cherry picked from commit prusa3d/PrusaSlicer@c468dcbed7 )
2023-11-04 11:41:06 +08:00
enricoturri1966
fe78e40cb4
Various fixes
2023-11-04 11:41:06 +08:00
enricoturri1966
59b7c52862
Tech ENABLE_LEGACY_OPENGL_REMOVAL - Calculation of camera projection matrix
...
(cherry picked from commit prusa3d/PrusaSlicer@a0630420d9 )
2023-11-04 11:41:05 +08:00
enricoturri1966
1e4f16bd39
Tech ENABLE_GL_SHADERS_ATTRIBUTES - Added shaders for glsl version 140
...
(cherry picked from commit prusa3d/PrusaSlicer@76d1d4949b )
2023-11-04 11:41:05 +08:00
enricoturri1966
8dc82e7a8d
Few small fixes
2023-11-04 11:41:05 +08:00
Noisyfox
e211e7d144
Fix mm rendering
2023-11-04 11:41:05 +08:00
Noisyfox
03daf61862
Fix outline rendering
2023-11-04 11:41:04 +08:00
enricoturri1966
71fd4084c2
Tech ENABLE_LEGACY_OPENGL_REMOVAL - porting remaining changes
...
(cherry picked from commit prusa3d/PrusaSlicer@2f572d3cf0 )
2023-11-04 11:41:04 +08:00
enricoturri1966
d09dc36ff1
Tech ENABLE_GLINDEXEDVERTEXARRAY_REMOVAL - Replace GLIndexedVertexArray with GLModel: GLVolume geometry + removed class GLIndexedVertexArray from codebase
...
(cherry picked from commit prusa3d/PrusaSlicer@1eac357739 )
2023-11-04 11:41:04 +08:00
enricoturri1966
d1b0743735
Removed obsolete member variable GLCanvas3D::m_color_by
...
(cherry picked from commit prusa3d/PrusaSlicer@5089d1460d )
2023-11-04 11:41:04 +08:00
enricoturri1966
dde64acf72
Tech ENABLE_GLBEGIN_GLEND_REMOVAL - SLA caps rendered using GLModel
...
(cherry picked from commit prusa3d/PrusaSlicer@c9ff260d13 )
2023-11-04 11:41:03 +08:00
enricoturri1966
10243b3a8c
Tech ENABLE_GLBEGIN_GLEND_REMOVAL - Removed OpenGL legacy calls from GLCanvas3D::init()
...
(cherry picked from commit prusa3d/PrusaSlicer@aa4714a239 )
2023-11-04 11:41:03 +08:00
enricoturri1966
12dbbf2d1c
Tech ENABLE_GLBEGIN_GLEND_REMOVAL - Another refactoring to simplify client code of GLModel::Geometry
...
(cherry picked from commit prusa3d/PrusaSlicer@fa1ff1c357 )
2023-11-04 11:41:03 +08:00
enricoturri1966
874f39aac1
Tech ENABLE_GLBEGIN_GLEND_REMOVAL - Adapt GLModel::Geometry index format in dependence of data size, where possible
...
(cherry picked from commit prusa3d/PrusaSlicer@4d2d77e99c )
2023-11-04 11:41:03 +08:00
enricoturri1966
269fbaa60c
Tech ENABLE_GLBEGIN_GLEND_REMOVAL - Refactoring to simplify client code of GLModel::Geometry
...
(cherry picked from commit prusa3d/PrusaSlicer@be6b6590be )
2023-11-04 11:41:03 +08:00
Lukáš Hejl
499b9d1be8
Fix various memory leaks
...
(cherry picked from commit prusa3d/PrusaSlicer@deb17c5920 )
2023-11-04 11:41:03 +08:00
enricoturri1966
7907426d00
Tech ENABLE_GLBEGIN_GLEND_REMOVAL - Textures rendering
...
(cherry picked from commit prusa3d/PrusaSlicer@1a47211bfc )
2023-11-04 11:41:03 +08:00
enricoturri1966
04ad26f611
Tech ENABLE_GLBEGIN_GLEND_REMOVAL - Background rendering
...
(cherry picked from commit prusa3d/PrusaSlicer@eda55701a2 )
2023-11-04 11:41:01 +08:00
enricoturri1966
35899b96ba
Tech ENABLE_GLBEGIN_GLEND_REMOVAL - Layers editing profile's background texture rendering
...
Tech ENABLE_GLBEGIN_GLEND_REMOVAL - A few fixes in layers editing profile rendering
(cherry picked from commit prusa3d/PrusaSlicer@a939d8e4c0 )
(cherry picked from commit prusa3d/PrusaSlicer@8c807dbcc4 )
2023-11-04 11:41:01 +08:00
enricoturri1966
354f8e20fb
Tech ENABLE_GLBEGIN_GLEND_REMOVAL - Refactoring of GLModel to:
...
1) allow for custom vertex data layout
2) allow for custom index data format
3) allow for any OpenGL primitive type
(cherry picked from commit prusa3d/PrusaSlicer@afcac6e2ea )
2023-11-04 11:41:00 +08:00
enricoturri1966
7e04448b7a
Tech ENABLE_GLBEGIN_GLEND_REMOVAL - Various Gizmos updates and fixes
...
prusa3d/PrusaSlicer@35dd03e8cb
prusa3d/PrusaSlicer@bcaa0d38bd
prusa3d/PrusaSlicer@2673994471
prusa3d/PrusaSlicer@0e3a3aa522
prusa3d/PrusaSlicer@08a2711034
prusa3d/PrusaSlicer@f6f95808cc
prusa3d/PrusaSlicer@81edc7d752
prusa3d/PrusaSlicer@0b6e2b4aec
prusa3d/PrusaSlicer@71f08841f9
2023-11-04 11:41:00 +08:00
enricoturri1966
356405adf6
Tech ENABLE_GLBEGIN_GLEND_REMOVAL - Selection layers hints
...
(cherry picked from commit prusa3d/PrusaSlicer@bebb5505a3 )
2023-11-04 11:41:00 +08:00
enricoturri1966
7f0c095446
Tech ENABLE_GLBEGIN_GLEND_REMOVAL - 1st installment - Selection bounding box
...
(cherry picked from commit prusa3d/PrusaSlicer@22f38235ea )
2023-11-04 11:41:00 +08:00
enricoturri1966
28d0147d09
Introduction of classes ColorRGB and ColorRGBA to unify color data definition and manipulation
...
(cherry picked from commit prusa3d/PrusaSlicer@d0bff2d996 )
2023-11-04 11:41:00 +08:00
SoftFever
a7729ca83f
Merge BS 1.7.7.89
...
# Conflicts:
# bbl/i18n/ko/BambuStudio_ko.po
# localization/i18n/OrcaSlicer.pot
# localization/i18n/de/OrcaSlicer_de.po
# localization/i18n/en/OrcaSlicer_en.po
# localization/i18n/es/OrcaSlicer_es.po
# localization/i18n/fr/OrcaSlicer_fr.po
# localization/i18n/hu/OrcaSlicer_hu.po
# localization/i18n/it/OrcaSlicer_it.po
# localization/i18n/ja/OrcaSlicer_ja.po
# localization/i18n/nl/OrcaSlicer_nl.po
# localization/i18n/sv/OrcaSlicer_sv.po
# localization/i18n/zh_cn/OrcaSlicer_zh_CN.po
# resources/i18n/de/BambuStudio.mo
# resources/i18n/en/BambuStudio.mo
# resources/i18n/es/BambuStudio.mo
# resources/i18n/fr/BambuStudio.mo
# resources/i18n/hu/BambuStudio.mo
# resources/i18n/it/BambuStudio.mo
# resources/i18n/ja/BambuStudio.mo
# resources/i18n/ko/BambuStudio.mo
# resources/i18n/nl/BambuStudio.mo
# resources/i18n/sv/BambuStudio.mo
# resources/i18n/zh_cn/BambuStudio.mo
# resources/profiles/Anycubic/machine/Anycubic Kobra Max 0.4 nozzle.json
# src/OrcaSlicer.cpp
# src/libnest2d/include/libnest2d/selections/firstfit.hpp
# src/libslic3r/GCode/GCodeProcessor.cpp
# src/libslic3r/Print.cpp
# src/libslic3r/Print.hpp
# src/libslic3r/PrintConfig.cpp
# src/slic3r/GUI/CalibrationWizardPresetPage.cpp
# src/slic3r/GUI/GLCanvas3D.cpp
# src/slic3r/GUI/PartPlate.cpp
# src/slic3r/GUI/PartPlate.hpp
# src/slic3r/GUI/ReleaseNote.cpp
# src/slic3r/GUI/Tab.cpp
# version.inc
2023-10-21 19:41:49 +08:00
SoftFever
bbfb9d77fa
More camera tweaks ( #2473 )
...
* fix camera regressions
* Handle multiple plates
2023-10-21 12:20:30 +08:00
SoftFever
388b483774
Feat: 1. Vertical and horizontal mode for painting 2. Optimize Camera behavior ( #2424 )
...
* fix camera and update locale
* Paint horizontally or vertically
2023-10-15 16:43:52 +08:00
lane.wei
e8257103b7
FIX: CLI: fix the wipe tower depth not correct issue
...
estimate the wipe tower depth using more logic
JIRA: MAK-XXXX
Change-Id: Ieb66ebb7e75b20e61b7c0cb8e60496287434d31b
2023-10-10 14:19:23 +08:00