Lukas Matena
c61a5d234e
After gizmo snapshots are compacted, rename the last one to something generic
2021-09-30 12:17:52 +02:00
Lukáš Hejl
57f7b49223
Corrected undo/redo snapshot name when entering or leaving multi-material painting gizmo.
2021-08-30 10:41:41 +02:00
Lukáš Hejl
cc913d52ef
Added name for items in undo/redo stack inside multi-material gizmo.
2021-06-03 18:11:48 +02:00
Lukas Matena
cd1322ce3f
FDM supports gizmo 'autoset by angle' improvements:
...
- Extra dialog for autosetting by angle in FDM supports gizmo was removed
- Highlighting facets by angle is now controlled by a slider in the main gizmo dialog
- User is allowed to paint even when using the slope highlighter
- The button to turn highlighted facets to blockers was removed, it made no sense
- Highlighted facets are now rendered in light blue
2021-02-08 17:49:36 +01:00
Lukas Matena
b155e58a9d
Painting gizmos: show painted triangles inside modifier meshes
2020-10-06 12:06:39 +02:00
Lukas Matena
436e12e99f
Seam gizmo: fixed action names in undo/redo stack
2020-09-04 12:46:39 +02:00
Lukas Matena
6646198a9b
Merge branch lm_seam_painter_frontend
2020-09-01 23:03:16 +02:00
Lukas Matena
01b59ff57b
Seam gizmo created on frontend
2020-09-01 18:18:57 +02:00
Lukas Matena
a9435cccb8
Finished separation of FDM gizmo into base and child
2020-09-01 18:18:57 +02:00
Lukas Matena
7a6531ede7
Started work on separating FDM gizmo into base and child classes
2020-09-01 18:18:57 +02:00
Lukas Matena
223eb6933c
TriangleSelector paints continuously when dragging fast
...
Previously there would be distinct circles with gaps in between
2020-09-01 18:18:57 +02:00
Lukas Matena
320964a68c
TriangleSelector paints continuously when dragging fast
...
Previously there would be distinct circles with gaps in between
2020-08-21 09:49:39 +02:00
Lukas Matena
97bc092cce
Renamed FacetSupportType to EnforcerBlockerType
...
So it's not misleading if we use it for seam painting
2020-08-18 12:00:26 +02:00
Lukas Matena
7ddb64783b
TriangleSelector: edge limit is derived from cursor size
2020-07-24 17:47:16 +02:00
Lukas Matena
0756a7e4b3
TriangleSelector: 'Select by angle' and 'reset selection' functions fixed
2020-07-24 17:47:16 +02:00
Lukas Matena
6baff45759
TriangleSelector: Separated frontend/backend, support of multiple volumes, etc.
2020-07-24 17:47:16 +02:00
Lukas Matena
b250c08ec9
TriangleSelector: Serialization and deserialization
2020-07-24 17:47:16 +02:00
Lukas Matena
814f8be92f
TriangleSelector: getting ready for frontend/backend separation
2020-07-24 17:47:16 +02:00
Lukas Matena
da6acd73e2
TriangleSelector: Vertices are reference-counted and garbage collected
...
Garbage collection is triggered automatically when more than half of all triangles are invalid
2020-07-24 17:47:16 +02:00
Lukas Matena
b9321856f3
TriangleSelector: Reusing of previously calculated triangle divisions, partial garbage collection implementation
2020-07-24 17:47:16 +02:00
Lukas Matena
fb73bb1c66
TriangleSelector: remerging triangles, bugfixes
2020-07-24 17:47:16 +02:00
Lukas Matena
bed28bb2ff
TriangleSelector: even more progress
2020-07-24 17:47:16 +02:00
Lukas Matena
c3db84e382
TriangleSelector: Improvements
2020-07-24 17:47:16 +02:00
Lukas Matena
d2b2446b07
TriangleSelector: first partially working implementation
2020-07-24 17:47:16 +02:00
Lukas Matena
953d1417a0
TriangleSelector: draft of interface
2020-07-24 17:47:16 +02:00
Lukas Matena
2cc1dffc82
Fix of several issues related to gizmos updating and undo/redo
...
Common gizmos data cannot be used in on_set_state method
Also prevented calling render on empty GLVertexArrays
2020-06-03 15:33:39 +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
581892cb0d
FDM supports gizmo uses neighbor data from stl_file
2020-05-21 10:25:31 +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
d24a3453af
Added simple autosetting of custom supports based on facet normal angle
2020-05-06 07:03:32 +02:00
Lukas Matena
272de22055
Undo/redo in FDM supports gizmo
2020-05-05 13:45:04 +02:00
Lukas Matena
377c7d3086
FDM supports gizmo is aware of the clipping plane
2020-04-30 16:57:09 +02:00
Lukas Matena
546b0702f9
Custom supports data are saved into ModelObject and propagate to the backend
...
Invalidation of supports after they change is not implemented yet.
2020-04-16 16:57:46 +02:00
Lukas Matena
23da5910c6
FDM supports gizmo now uses VBOs instead of immediate mode
2020-04-09 15:56:43 +02:00
Lukas Matena
23fbc2ff1a
Alt+mouse wheel adjusts cursor size in FDM supports gizmo
2020-04-08 15:21:41 +02:00
Lukas Matena
4d8e6538e8
FDM supports gizmo - use right mouse to place support blockers
2020-04-08 14:59:53 +02:00
Lukas Matena
fe57826695
Improved the FDM supports gizmo dialog
...
Removed unused code
Fixed a clipping-plane related crash
Fixed a crash in hollowing gizmo when no hollowed mesh was provided
Forbid opening the gizmo when a part of an object is selected
2020-04-08 09:37:49 +02:00
Lukas Matena
17811598ac
Fixed obvious merge conflicts
...
FDM supports gizmo uses the new common data infrastructure
2020-04-07 19:44:29 +02:00
Lukas Matena
6d23c08d00
WIP
2020-03-19 12:04:05 +01:00
Lukas Matena
f275461354
WIP: FDM supports gizmo now works with multiple part objects into some extent
2020-03-19 11:15:17 +01:00
Lukas Matena
2e71dcefc3
WIP: Added a circle cursor and naive logic to select triangles inside
...
Deselection is possible when holding shift
Triangles obscured by the mesh are selected nonetheless (so far)
2020-03-19 11:15:17 +01:00
Lukas Matena
08daddb5de
WIP: First working implementation of the triangle selector for the FDM support gizmo
2020-03-19 11:15:17 +01:00
Lukas Matena
7afe7326b6
WIP: Duplicated the SLA gizmo for the FDM, removed what was not needed
...
Clipping plane and the m_model_object pointer keeping was duplicated
2020-03-19 11:15:17 +01:00