Lukas Matena
bce2b148f4
Merged 2.5.0-beta1 into master (NO CONFLICTS FIXED)
2022-08-15 13:41:40 +02:00
enricoturri1966
ca34518bcc
Fixed conflicts after merge with master
2022-07-21 08:55:52 +02:00
enricoturri1966
520261925f
Fixed conflicts after merge with master
2022-07-21 08:14:44 +02:00
enricoturri1966
9690919028
Fixed GLGizmoBase::render_input_window() to properly require for an extra frame the first time an imgui window is shown
2022-07-19 13:12:13 +02:00
enricoturri1966
de635f9088
Fixed GLGizmoBase::render_input_window() to properly require for an extra frame the first time an imgui window is shown
2022-07-19 12:57:26 +02:00
enricoturri1966
ae76468f7c
Tech ENABLE_RAYCAST_PICKING - Partial revert of 89ac9326280083de5325bc19950299842902d5b1 - Restored rectangle selection using encoded colors rendering
2022-06-28 14:12:57 +02:00
enricoturri1966
6d97de14d9
Tech ENABLE_RAYCAST_PICKING - Removal of all remaining code related to old OpenGL based picking
2022-06-21 09:16:36 +02:00
enricoturri1966
255d8657dd
Tech ENABLE_RAYCAST_PICKING - Small refactoring
2022-06-21 08:26:39 +02:00
enricoturri1966
63890b5f8d
Do know allow picking while dragging gizmos
2022-06-20 13:58:06 +02:00
enricoturri1966
9ac5ab857b
Tech ENABLE_RAYCAST_PICKING - Refactoring to allow for easier update of raycasters transform
2022-06-14 10:44:14 +02:00
enricoturri1966
9962a5a873
Tech ENABLE_RAYCAST_PICKING - Raytraced picking of Rotate Gizmo
2022-06-13 14:17:19 +02:00
enricoturri1966
df47ba7122
Tech ENABLE_RAYCAST_PICKING - Raytraced picking of gizmos - Move Gizmo
2022-06-13 13:09:24 +02:00
enricoturri1966
36ec839767
Tech ENABLE_GIZMO_GRABBER_REFACTOR set as default
2022-06-10 15:46:28 +02:00
enricoturri1966
cd6155293b
Fixed conflicts after merge with master
2022-06-07 11:10:19 +02:00
enricoturri1966
e4fb142afc
Tech ENABLE_WORLD_COORDINATE_SCALE_REVISITED merged into tech ENABLE_WORLD_COORDINATE
...
Fixed conflicts during rebase with master
2022-06-06 12:01:44 +02:00
enricoturri1966
88ce6ccdef
Tech ENABLE_TRANSFORMATIONS_BY_MATRICES - Reworked method void Selection::scale(const Vec3d& scale, TransformationType transformation_type) to use matrix multiplication
...
Fixed conflicts during rebase with master
2022-06-06 09:54:19 +02:00
enricoturri1966
7da94fb07d
Fixed differences after rebase with master
2022-05-26 13:20:56 +02:00
enricoturri1966
c468dcbed7
Tech ENABLE_LEGACY_OPENGL_REMOVAL - Fixed calculation of normal matrices sent to shaders
...
Fixed conflicts during rebase with master
2022-05-26 12:25:55 +02:00
enricoturri1966
1a1cf108fc
Tech ENABLE_GL_SHADERS_ATTRIBUTES merged into ENABLE_LEGACY_OPENGL_REMOVAL
...
Fixed conflicts during rebase with master
2022-05-26 10:50:32 +02:00
enricoturri1966
f504236734
Tech ENABLE_GIZMO_GRABBER_REFACTOR - Refactoring of GLGizmoBase::Grabber to have a single static instance of the cube and cone models to be shared by all grabbers
2022-04-14 15:15:14 +02:00
enricoturri1966
76d1d4949b
Tech ENABLE_GL_SHADERS_ATTRIBUTES - Added shaders for glsl version 140
2022-03-21 13:10:47 +01:00
enricoturri1966
46283cfde3
Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES renamed as ENABLE_GL_SHADERS_ATTRIBUTES
2022-03-09 08:22:07 +01:00
enricoturri1966
05efb88e3f
Tech ENABLE_GLBEGIN_GLEND_REMOVAL renamed as ENABLE_LEGACY_OPENGL_REMOVAL
2022-03-08 14:08:11 +01:00
enricoturri1966
31013fb6df
Tech ENABLE_GLBEGIN_GLEND_SHADERS_ATTRIBUTES - Use vertex attributes and matrices in shaders.
...
Refactoring of flat vertex shader
2022-03-04 08:54:23 +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
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
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
1e9951dec5
Follow-up of 5b5fdfba012aecb79429638d0ea514b060dea6a9 - 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 3cd15ac005287f1d12aa63c6fb072fb8acc3170b - Fixed update of dragging state of selection
2022-02-24 14:49:53 +01:00
Filip Sykala
576a63cd20
Fix for cut gizmo during move of object
2022-02-10 08:50:38 +01:00
Filip Sykala
5f51811a3c
Fix dragging out of window
2022-02-09 15:16:17 +01:00
Filip Sykala
0c40e2f8c8
Merge branch 'master' into fs_mouse
...
# Conflicts:
# src/slic3r/GUI/Gizmos/GLGizmoRotate.cpp
# src/slic3r/GUI/Gizmos/GLGizmoRotate.hpp
2022-02-08 10:43:29 +01:00
enricoturri1966
5db3c66cf7
Tech ENABLE_GLBEGIN_GLEND_REMOVAL - Added method void init_from(const TriangleMesh& mesh) to GLModel
2022-01-27 13:45:30 +01:00
enricoturri1966
afcac6e2ea
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
2022-01-27 12:00:51 +01:00
Filip Sykala
f23c356507
Merge branch 'dev' into fs_mouse
...
# Conflicts:
# src/slic3r/GUI/GLCanvas3D.cpp
# src/slic3r/GUI/Gizmos/GLGizmoBase.cpp
# src/slic3r/GUI/Gizmos/GLGizmoBase.hpp
# src/slic3r/GUI/Gizmos/GLGizmoScale.cpp
# src/slic3r/GUI/Gizmos/GLGizmoScale.hpp
2022-01-20 09:25:06 +01:00
enricoturri1966
6201dad245
Tech ENABLE_COLOR_CLASSES set as default
2022-01-14 08:19:00 +01:00
enricoturri1966
cd4094743e
Tech ENABLE_COLOR_CLASSES - 1st installment -> Introduction of classes ColorRGB and ColorRGBA to unify color data definition and manipulation
2021-12-22 10:45:35 +01:00
Filip Sykala
d08e6d8c1b
fix update data
2021-12-15 14:26:31 +01:00
Lukas Matena
1216e593f0
Added a missing forward declaration, fixed some warnings
2021-12-14 17:08:56 +01:00
Filip Sykala
03d0e36f2f
Merge branch 'dev' into fs_mouse
...
# Conflicts:
# src/slic3r/GUI/Gizmos/GLGizmoBase.cpp
# src/slic3r/GUI/Gizmos/GLGizmoBase.hpp
# src/slic3r/GUI/Gizmos/GLGizmoPainterBase.hpp
# src/slic3r/GUI/Gizmos/GLGizmoRotate.cpp
# src/slic3r/GUI/Gizmos/GLGizmoRotate.hpp
2021-12-14 11:13:42 +01:00
Filip Sykala
291a21445c
Fix do not render fot picking druring dragging
2021-12-13 10:49:16 +01:00
Filip Sykala
3c7390e34e
remove GLModel from base class
...
- only 2 gizmo use cone
2021-12-10 15:51:07 +01:00
Filip Sykala
123903f317
Clean up GLGizmoManagaer
...
Clean up GLGizmoBase
2021-12-10 14:58:06 +01:00
enricoturri1966
e3d5cd445c
Gizmos refactoring - Removed GLModels defined into GLGizmoBase, and mostly unused, to avoid wasting GPU memory. Use a shared GLModel for Gizmos inheriting from GLGizmoPainterBase. Initialization of GLModels moved from constructor to render methods
2021-12-10 11:28:12 +01:00
Filip Sykala
c751d6327d
Separate GizmoManager on_move into gizmo itself
2021-12-10 09:09:53 +01:00
Filip Sykala
95fc054590
fix for getting name of gizmo without key(like simplify)
2021-09-29 18:17:19 +02:00
Vojtech Bubnik
9d29eddf16
WIP: admesh eradication
...
follow-up to 58d8ab3deaaac1049439728d5a0f46c4b6a592f5
2021-09-14 14:51:40 +02:00
Lukas Matena
a4300b8e64
Naming of the entering/leaving snapshots is now more generic,
...
it uses the actual name of the gizmo. Also, the keyboard shortcut
is now appended to the name, instead of being duplicated in it.
2021-09-03 13:53:07 +02:00
enricoturri1966
39ec1a6318
Fixed conflicts after merge with master
2021-08-26 12:39:28 +02:00
Filip Sykala
6d895872b0
call render in main thread by function callAfter(hint by @Vojtech)
2021-08-20 14:29:52 +02:00