Commit Graph

76 Commits

Author SHA1 Message Date
Lukas Matena
9b5c7aadad Sla support points are saved in ModelObject 2018-09-24 14:04:16 +02:00
Lukas Matena
b539a9148a Merge remote-tracking branch 'origin/dev2' into lm_sla_supports_ui 2018-09-21 15:46:46 +02:00
Enrico Turri
8cea821c6a Dimensions of scale on rotate gizmo as function of object size 2018-09-21 13:44:38 +02:00
Lukas Matena
088fe6cec6 Merge branch 'dev2' into lm_sla_supports_ui 2018-09-21 11:43:30 +02:00
Enrico Turri
07274589a3 1st installment of ModelInstance 3D rotation components 2018-09-20 15:00:40 +02:00
Enrico Turri
c9acd1252a reset transformation components to their default value by double clicking on gizmos' grabbers 2018-09-19 15:39:54 +02:00
Lukas Matena
195998ff7c Sla support points can be deleted, tooltip texture was added 2018-09-19 14:59:57 +02:00
bubnikv
fe3b92870f Merged with dev 2018-09-17 15:12:13 +02:00
Lukas Matena
37c222a54f Merge branch 'dev' into lm_sla_supports_ui 2018-09-17 10:26:38 +02:00
Enrico Turri
d139274da8 Fixed gizmo move 3d axis Z 2018-09-14 14:37:13 +02:00
Lukas Matena
5df70752c0 Merge branch 'dev' into lm_sla_supports_ui 2018-09-14 11:38:51 +02:00
Enrico Turri
3faaff85d5 Code cleanup 2018-09-13 16:08:19 +02:00
Enrico Turri
af19713a27 1st installment of 3d offset for ModelInstance 2018-09-13 15:15:00 +02:00
Lukas Matena
d9322dad95 Sla supports - moving the points 2018-09-12 12:14:20 +02:00
Enrico Turri
0f4a2ee69a Fixed size of scale 3d gizmo reference box 2018-09-12 10:56:39 +02:00
Enrico Turri
00b10c7f9d 3D gizmos' grabber size as a function of selected objects size 2018-09-11 14:48:17 +02:00
Enrico Turri
a97df55592 Temporary remove not yet supported transformations from 3D gizmos 2018-09-11 12:40:42 +02:00
Enrico Turri
4479c5444a 1st installment of gizmo move 3D 2018-09-11 09:00:28 +02:00
Enrico Turri
d8936b1ad8 Another partial refactoring of 3d gizmos 2018-09-10 11:58:24 +02:00
Enrico Turri
5e8bd47988 Partial refactoring of 3d gizmos 2018-09-10 10:01:49 +02:00
Enrico Turri
775ec1b546 Tweaks to gizmo scale 3D 2018-09-07 13:40:26 +02:00
Enrico Turri
ada6dba00b Selection of picking color for gizmo grabber moved into GLGizmoBase 2018-09-07 12:20:56 +02:00
Enrico Turri
c8f1369824 Added Vec3d ModelInstance::transform_vector() method 2018-09-06 09:16:32 +02:00
Enrico Turri
aef871f1a0 Another fix in flatten gizmo's flattening normal 2018-09-05 15:13:29 +02:00
Enrico Turri
011281068b Fixed flatten gizmo's flattening normal 2018-09-05 14:02:08 +02:00
Enrico Turri
15b1340514 Added ModelInstance::world_matrix() method and stl_transform using eigen transform 2018-09-04 14:42:14 +02:00
Enrico Turri
5f2afad95e Fixed render of picking pass for flatten gizmo 2018-09-04 12:41:14 +02:00
Enrico Turri
3750bd781e Enhanced gizmo scale 3D 2018-08-29 13:36:03 +02:00
Enrico Turri
84fb7940b7 More eigenized gizmos 2018-08-28 13:23:28 +02:00
Enrico Turri
255e837d33 Removed 2D gizmos 2018-08-28 12:50:26 +02:00
Enrico Turri
87565a0686 Tweaks to GLGizmoFlatten 2018-08-28 09:03:03 +02:00
Enrico Turri
fef5a5252e Fixed conflicts after merging with master 2018-08-27 14:00:53 +02:00
Enrico Turri
220d430956 Mouse capture when dragging gizmos 2018-08-24 15:49:57 +02:00
Enrico Turri
bbc465fdf3 Added tooltip to gizmos 2018-08-24 14:11:41 +02:00
Enrico Turri
8a9d0023a7 Added snap to scale to rotate gizmo 2018-08-24 12:16:11 +02:00
Enrico Turri
5f6a8adf7c Modified render order of gizmos 2018-08-24 12:06:05 +02:00
Lukas Matena
e8aafd3c83 Lay flat - simple rejection of very small surfaces 2018-08-24 11:46:54 +02:00
Enrico Turri
7f542a0f85 3D gizmos grabbers always visible to picking pass 2018-08-24 11:17:53 +02:00
Enrico Turri
95ae2d715b Fixed direction of rotate gizmo around y axis 2018-08-24 10:32:05 +02:00
Enrico Turri
acdbd987f5 Use double in place of coordf_t 2018-08-24 10:20:00 +02:00
Enrico Turri
66ce638439 Fixed conflicts after merging with branch eigenize 2018-08-23 15:37:38 +02:00
Enrico Turri
0924bedd28 Enhanced behaviour of scale 3D gizmo 2018-08-22 11:22:07 +02:00
bubnikv
0b5b02e002 Eradicated the Pointf class, replaced with Eigen Vector3d 2018-08-21 21:05:24 +02:00
bubnikv
cae0806112 Eradicated most of Pointf extras compared to pure Eigen::Vector2d. 2018-08-21 20:34:45 +02:00
bubnikv
cb138a20b8 Completely replaced the homebrew Pointf3 class with Eigen Vec3d.
Replaced the unscale macro with a template, implemented templates
for unscaling Eigen vectors.
2018-08-21 17:43:05 +02:00
Lukas Matena
9e6234fe39 Lay flat - limit number of active surfaces to 255 (to avoid problems with picking pass) 2018-08-21 15:56:40 +02:00
Lukas Matena
86b67bbd42 Lay flat - rotation is now done in one go directly about the necessary axis 2018-08-21 15:40:11 +02:00
Enrico Turri
889d0f1434 3D gizmo grabbers 2018-08-21 14:27:36 +02:00
Enrico Turri
edf03e00dd 3D rotate gizmo colored by axis in preview mode 2018-08-21 09:03:38 +02:00
Enrico Turri
743eee8b6e 1st installment of gizmo scale 3D 2018-08-21 08:50:35 +02:00