Commit Graph

62 Commits

Author SHA1 Message Date
2ff93e3a0e Fixed size of scale 3d gizmo reference box 2018-09-12 10:56:39 +02:00
2a689c0025 3D gizmos' grabber size as a function of selected objects size 2018-09-11 14:48:17 +02:00
cb19c0a19f Temporary remove not yet supported transformations from 3D gizmos 2018-09-11 12:40:42 +02:00
912df7c914 1st installment of gizmo move 3D 2018-09-11 09:00:28 +02:00
49fe8201b6 Another partial refactoring of 3d gizmos 2018-09-10 11:58:24 +02:00
7008b5e74f Partial refactoring of 3d gizmos 2018-09-10 10:01:49 +02:00
046326a684 Tweaks to gizmo scale 3D 2018-09-07 13:40:26 +02:00
960347a13c Selection of picking color for gizmo grabber moved into GLGizmoBase 2018-09-07 12:20:56 +02:00
6f9c547d07 Added Vec3d ModelInstance::transform_vector() method 2018-09-06 09:16:32 +02:00
63877e6017 Another fix in flatten gizmo's flattening normal 2018-09-05 15:13:29 +02:00
63482aa16f Fixed flatten gizmo's flattening normal 2018-09-05 14:02:08 +02:00
fadee48454 Added ModelInstance::world_matrix() method and stl_transform using eigen transform 2018-09-04 14:42:14 +02:00
c87b76e9b4 Fixed render of picking pass for flatten gizmo 2018-09-04 12:41:14 +02:00
0fe10489a3 Enhanced gizmo scale 3D 2018-08-29 13:36:03 +02:00
af52a99530 More eigenized gizmos 2018-08-28 13:23:28 +02:00
d043df8ff1 Removed 2D gizmos 2018-08-28 12:50:26 +02:00
02d4fa0583 Tweaks to GLGizmoFlatten 2018-08-28 09:03:03 +02:00
a3bd7c110f Fixed conflicts after merging with master 2018-08-27 14:00:53 +02:00
d56054a20e Mouse capture when dragging gizmos 2018-08-24 15:49:57 +02:00
31715e224c Added tooltip to gizmos 2018-08-24 14:11:41 +02:00
812aec7c52 Added snap to scale to rotate gizmo 2018-08-24 12:16:11 +02:00
9e85ddbcf4 Modified render order of gizmos 2018-08-24 12:06:05 +02:00
a4b0708452 Lay flat - simple rejection of very small surfaces 2018-08-24 11:46:54 +02:00
1e180c990a 3D gizmos grabbers always visible to picking pass 2018-08-24 11:17:53 +02:00
89a45caf7b Fixed direction of rotate gizmo around y axis 2018-08-24 10:32:05 +02:00
5e23b1eb4b Use double in place of coordf_t 2018-08-24 10:20:00 +02:00
d837ac38dc Fixed conflicts after merging with branch eigenize 2018-08-23 15:37:38 +02:00
f6b66b7968 Enhanced behaviour of scale 3D gizmo 2018-08-22 11:22:07 +02:00
7f49697944 Eradicated the Pointf class, replaced with Eigen Vector3d 2018-08-21 21:05:24 +02:00
2b2d7665d1 Eradicated most of Pointf extras compared to pure Eigen::Vector2d. 2018-08-21 20:34:45 +02:00
b616a0c183 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
e72c4517fd Lay flat - limit number of active surfaces to 255 (to avoid problems with picking pass) 2018-08-21 15:56:40 +02:00
64022acfff Lay flat - rotation is now done in one go directly about the necessary axis 2018-08-21 15:40:11 +02:00
8d13c0b3a0 3D gizmo grabbers 2018-08-21 14:27:36 +02:00
573678b466 3D rotate gizmo colored by axis in preview mode 2018-08-21 09:03:38 +02:00
2dd4303b74 1st installment of gizmo scale 3D 2018-08-21 08:50:35 +02:00
c628f44006 Added a missing header (numeric for std::accumulate) 2018-08-20 13:02:54 +02:00
6d8efe0575 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
41ad5de125 Lay flat - icons and invalidation improvement 2018-08-20 11:27:25 +02:00
c586271723 1st installment of gizmo rotate 3D 2018-08-20 10:23:17 +02:00
2f09a89bfb Removed the x(), y(), z() Point/Pointf/Point3/Pointf3 accessors. 2018-08-17 15:53:43 +02:00
8792f981f8 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
f738c42aa5 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
85dca2b0a1 Merge remote-tracking branch 'origin/convex_hull' into lm_lay_flat_round_merged_facets 2018-08-16 08:56:18 +02:00
478630e5a7 Use of bounding box of rotated 3D convex hull for out of print volume detection 2018-08-15 12:50:06 +02:00
55c903a6a2 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
b55e796d1e Changing the internal representation of Point / Pointf / Point3 / Pointf3 to Eigen Matrix types, first step 2018-08-14 18:33:26 +02:00
c0bb4c8536 Created a new gizmo for flattening an object 2018-08-13 09:45:18 +02:00
38bdc87268 Keep fixed radius of rotate gizmo 2018-07-12 11:26:13 +02:00
cad45aaad9 5th Attempt to fix texture rendering on OpenGL 1.1 cards 2018-06-22 15:11:04 +02:00