Enrico Turri
c9acd1252a
reset transformation components to their default value by double clicking on gizmos' grabbers
2018-09-19 15:39:54 +02:00
bubnikv
fe3b92870f
Merged with dev
2018-09-17 15:12:13 +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
Lukas Matena
d197a5149a
Added a missing header (numeric for std::accumulate)
2018-08-20 13:02:54 +02:00
Lukas Matena
3b86c57c8f
Lay flat gizmo is rendered before the bed, so the surfaces are visible from below, and a rotation-related bugfix
2018-08-20 12:56:01 +02:00
Lukas Matena
b0dd328fde
Lay flat - icons and invalidation improvement
2018-08-20 11:27:25 +02:00
Enrico Turri
53914e05c6
1st installment of gizmo rotate 3D
2018-08-20 10:23:17 +02:00
bubnikv
65011f9382
Removed the x(), y(), z() Point/Pointf/Point3/Pointf3 accessors.
2018-08-17 15:53:43 +02:00
Lukas Matena
f9efcc36b6
Lay flat gizmo improvements - merge adjacent faces, compute and cache convex hull for entire ModelObject, refresh when moved, etc.
2018-08-17 15:40:47 +02:00
bubnikv
1ba64da3fe
Removed Point::scale(),translate(),coincides_with(),distance_to(),
...
distance_to_squared(),perp_distance_to(),negative(),vector_to(),
translate(), distance_to() etc,
replaced with the Eigen equivalents.
2018-08-17 14:14:24 +02:00
Lukas Matena
3f72ca2a15
Merge remote-tracking branch 'origin/convex_hull' into lm_lay_flat_round_merged_facets
2018-08-16 08:56:18 +02:00
Enrico Turri
4d98d32199
Use of bounding box of rotated 3D convex hull for out of print volume detection
2018-08-15 12:50:06 +02:00
bubnikv
f34252a27b
Changing the internal representation of Point / Pointf / Point3 / Pointf3 to Eigen Matrix types:
...
Changed the Point3 / Pointf3 to composite Eigen Vec3crd / Vec3d.
Point3 is no more derived from Point,
Pointf3 is no more derived from Pointf.
Introduced Transform2f/3f/2d/3d types as aliases to Eigen::Transform.
2018-08-14 21:33:41 +02:00
bubnikv
86da661097
Changing the internal representation of Point / Pointf / Point3 / Pointf3 to Eigen Matrix types, first step
2018-08-14 18:33:26 +02:00
Lukas Matena
25a6c7e30e
Created a new gizmo for flattening an object
2018-08-13 09:45:18 +02:00
Enrico Turri
0e9ac1679f
Keep fixed radius of rotate gizmo
2018-07-12 11:26:13 +02:00
Enrico Turri
de540de9aa
5th Attempt to fix texture rendering on OpenGL 1.1 cards
2018-06-22 15:11:04 +02:00