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
Enrico Turri
15c69a90ec
Changed use of GL_LIGHTING logic and code cleanup
2018-06-22 12:21:43 +02:00
Enrico Turri
b9ce19b07c
Object updated by rotate gizmo
2018-06-19 09:46:26 +02:00
Enrico Turri
a3949b9f01
Object updated by scale gizmo
2018-06-18 15:07:17 +02:00
Enrico Turri
53f8706805
Rotate gizmo interaction with mouse
2018-06-15 16:16:55 +02:00
Enrico Turri
6874949556
Scale gizmo interaction with mouse
2018-06-15 14:10:28 +02:00
Enrico Turri
c624d6bb0a
Hover on gizmo grabbers rendering
2018-06-14 15:32:26 +02:00
Enrico Turri
7fb6e2aa03
Use mipmaps for bed textures
2018-06-14 10:37:28 +02:00
Enrico Turri
bc5640eef4
Rotate gizmo rendering
2018-06-14 10:00:59 +02:00
Enrico Turri
3a19b81cef
Scale gizmo rendering
2018-06-13 15:44:04 +02:00
Enrico Turri
c657654c02
Hovering on gizmo overlay
2018-06-13 10:49:59 +02:00
Enrico Turri
6079fed951
Fixed compile on Linux
2018-06-13 09:26:58 +02:00
Enrico Turri
b2cf576bf3
1st installment of gizmos
2018-06-13 09:12:16 +02:00