Commit graph

199 commits

Author SHA1 Message Date
Leonardo Zide
3d1efcabec Added room in the meshes for normals. 2017-02-18 11:12:35 -08:00
Leonardo Zide
6094899dc2 Fixed clang analyzer warnings. 2017-02-12 18:05:20 -08:00
Leonardo Zide
6b3869ce90 Fixes for iOS. 2017-02-11 12:41:00 -08:00
Leonardo Zide
0f2e808477 Fixed printing. 2017-02-11 09:46:21 -08:00
Leonardo Zide
cfdfe30b40 Replaced GL_QUAD calls. 2017-02-11 08:30:57 -08:00
Leonardo Zide
e7fe26d2a4 Stop caching the GL viewport since OSX changes it when making a context current. 2017-01-29 19:31:30 -08:00
Leonardo Zide
eb1bc1cd31 First pass of the new parts list widget. 2016-12-16 09:14:19 -08:00
Leonardo Zide
ed37143a6b Better piece insert position calculation. 2016-11-06 16:24:44 -08:00
Leonardo
dc2b5db0a7 Fixes to compile with Qt 4.6. 2016-09-22 08:04:51 -07:00
leo
8434c26087 Fixed context menu not showing in some cases. 2016-05-19 21:16:31 +00:00
leo
2e276f26df Better handling of customized mouse shortcuts. 2016-05-09 01:59:10 +00:00
leo
d5ccd6289f Include cleanup. 2016-05-02 19:13:54 +00:00
leo
4d9113c1d0 Fixed gcc warnings. 2016-05-02 18:22:38 +00:00
leo
a0db9ce210 Added synth support for shock absorbers. 2016-05-01 00:20:37 +00:00
leo
26f9859a8e Added mouse preferences tab. 2016-04-25 05:26:34 +00:00
leo
5b0bf780cc Configurable mouse shortcuts. 2016-04-23 00:17:33 +00:00
leo
6547969d24 Fixed a few rotation bugs in flexible objects. 2016-04-19 16:30:29 +00:00
leo
92882ae13e Fixed warnings. 2016-04-05 21:47:01 +00:00
leo
2842cccf53 Use the centroid of the selected pieces when rotating pieces. 2016-03-13 20:07:28 +00:00
leo
8af94f050f Added overlay to change the control point scale. 2016-03-12 00:05:49 +00:00
leo
32a22da00d Open submodels in separate tabs. 2016-03-06 01:47:00 +00:00
leo
b5233f714c Added options to add and remove control points. 2016-03-03 00:04:49 +00:00
leo
510d190483 Support dynamic piece meshes. 2016-02-19 17:53:54 +00:00
leo
55352082d9 Fixed gcc warnings. 2016-01-25 19:57:27 +00:00
leo
d715c316a6 Allow changing multiple pieces at the same time using the properties widget. 2015-12-22 22:44:46 +00:00
leo
6a9d1eb585 Use Matrix33 for relative rotations. 2015-12-15 19:47:52 +00:00
leo
a035bf7ed1 Move pivot point with the mouse. 2015-12-14 18:01:17 +00:00
leo
64adbc6efc Added option to view the first selected submodel. 2015-12-04 22:41:08 +00:00
leo
1f47b89d57 Added more options to context menu. 2015-12-04 20:32:10 +00:00
leo
55f87378cd Mouse buttons 4 and 5 now work to navigate steps. 2015-09-06 19:52:17 +00:00
leo
6b86d13042 Fixed rotate overlay drawing. 2015-05-25 18:02:57 +00:00
leo
f001916a05 Fixed camera name not drawing correctly. 2015-05-25 17:36:22 +00:00
leo
b821a76b17 Compile fixes. 2015-05-17 06:47:10 +00:00
leo
7f7a93e015 Added shader support. 2015-05-16 23:04:35 +00:00
leo
77e103264d Set colors through the context. 2015-05-04 00:51:41 +00:00
leo
170b7fc775 Changed the vertex and index buffer types to a class. 2015-04-30 22:35:40 +00:00
leo
20945362e5 Create a static buffer for the move overlay. 2015-04-27 00:47:31 +00:00
leo
aa861cd036 Use a single vertex buffer for all pieces. 2015-04-26 18:14:33 +00:00
leo
2063514f2f Added snap toggle back. 2015-04-24 22:11:50 +00:00
leo
5afec8b702 Rewrote move overlay drawing. 2015-04-20 02:09:18 +00:00
leo
d59dfe9444 Rewrote camera and light drawing. 2015-04-19 01:10:01 +00:00
leo
81fc732158 Use a vertex buffer for the grid. 2015-04-14 04:14:10 +00:00
leo
3081ed2df8 Center axis labels. 2015-04-06 00:36:27 +00:00
leo
be59eb624f Fixed line width not being set for edge lines. 2015-03-17 04:24:53 +00:00
leo
537aa5552b Better updates for the timeline. 2015-03-14 21:09:10 +00:00
leo
7440111b64 Allow different cameras for each submodel. 2015-03-01 23:17:50 +00:00
leo
e4eb0e65d7 Fixed zoom extents and region on ortho cameras. 2015-02-15 02:24:08 +00:00
leo
141696ec8c Changed how zoom extents work. 2015-02-14 20:47:50 +00:00
leo
853f28c6c3 Changed pan tool to have the mouse follow the objects on the screen. 2015-02-08 21:05:50 +00:00
leo
c670893deb Rendering optimizations. 2015-02-08 18:54:51 +00:00
leo
e1e2fcc26a Fixed wrong mouse cursor when nothing is selected. 2015-01-18 04:41:06 +00:00
leo
12d0094806 Store piece transformations as matrices to allow scaling. 2015-01-10 20:30:37 +00:00
leo
06496f1cf0 Remove temporary pieces from the library after unloading a project. 2015-01-07 16:52:42 +00:00
leo
28be739db0 Fixed bounding box calculation of nested submodels. 2015-01-02 16:44:01 +00:00
leo
b537f4c9a1 Fixed crash dragging models from the parts tree. 2015-01-02 16:21:07 +00:00
leo
4c74b6ecf4 Fixed bounding box calculation of submodels. 2014-12-31 16:15:51 +00:00
leo
493ad442b2 Finished separating model from project. 2014-12-08 07:32:39 +00:00
leo
dbe7f759ed Move command handling to main window. 2014-12-04 01:47:28 +00:00
leo
9ebccc4a19 Moved last remaining functions out of project. 2014-11-30 17:53:09 +00:00
leo
d4ab2e9f90 More cleanup. 2014-11-29 02:55:58 +00:00
leo
deabf0524a Moved more functionality out of the project. 2014-11-25 00:51:34 +00:00
leo
a63743c73f Reorganized drawing functions. 2014-11-23 23:48:56 +00:00
leo
477cf69977 Reorganized zoom functions. 2014-11-08 01:05:17 +00:00
leo
a6a69b7661 Reuse piece bounding box function to avoid duplication. 2014-10-10 01:25:31 +00:00
leo
6684abf96a More project cleanup. 2014-10-07 23:02:52 +00:00
leo
2ca5665235 Moved mouse handling to the model. 2014-10-05 05:21:51 +00:00
leo
a57946008e Fixed gcc warnings. 2014-09-03 17:24:28 +00:00
leo
07e6fce3ce Use LDraw units internally. 2014-08-30 19:48:36 +00:00
leo
73952870fd Moved transform type to main window. 2014-08-27 16:17:09 +00:00
leo
0a66fbeb82 Moved some drawing code out of the projet. 2014-08-23 22:56:59 +00:00
leo
b9d2229132 Removed old object class names. 2014-08-07 15:22:33 +00:00
leo
98541ed1f2 Improved moving rotated parts. 2014-06-22 17:39:15 +00:00
leo
7d2d338398 Fixed piece drag from list. 2014-05-26 22:58:08 +00:00
leo
4e1a08c4fb Moved current tool to main window. 2014-05-23 00:02:21 +00:00
leo
eb4bc27c25 Moved addkeys to main window. 2014-05-20 22:15:42 +00:00
leo
d162acdf52 Moved mouse handling from project to view. 2014-05-17 23:03:05 +00:00
leo
fe2e759bc0 Moved view list to main window. 2014-05-03 21:16:48 +00:00
leo
9292816f89 Moved some hit test functions to view. 2014-05-03 16:59:57 +00:00
leo
df90611f77 Merged projection and view classes. 2014-05-03 06:08:52 +00:00
leo
e0d4f03cbc Moved projection selection to camera. 2014-05-03 01:22:24 +00:00
leo
d2d96489ac Fixed inconsistent behavior where sometimes parts that are not visible would remain selected and be modified. 2014-05-01 14:55:12 +00:00
leo
213c53813c Removed animation code. 2014-01-30 03:13:34 +00:00
leo
418481f8c8 Orthographic projection option. 2013-12-17 02:43:16 +00:00
leo
f11c97777a Merged qtest branch into trunk. 2013-08-09 04:57:18 +00:00
leo
61c19a7127 Automatically swap buffers after drawing a GL window derived class. 2013-02-13 01:18:28 +00:00
leo
03794eb0ec Support mouse wheel on Linux. 2013-01-28 19:57:33 +00:00
leo
d3a8e0b1f0 Added option to not use a camera. 2012-11-15 01:14:35 +00:00
leo
53894d79b9 Fixed rotate view cursor not updating correctly. 2012-11-01 00:34:09 +00:00
leo
303d6e4214 Camera cleanup. 2012-08-22 01:13:32 +00:00
leo
2978a81f93 Added simple camera type. 2012-08-20 04:05:56 +00:00
leo
524e2d3be2 Updated mouse workflow to avoid switching actions as often. 2012-07-31 05:27:40 +00:00
leo
79d8081373 Cross platform terrain window. 2012-06-23 00:14:09 +00:00
leo
778c92f80b Added support for precompiled headers to common files. 2012-03-20 00:57:42 +00:00
leo
592d3b2c23 Update the cursor when the user presses the control key. 2012-03-03 01:16:02 +00:00
leo
19bb01ab7c Allow different cameras for each view. 2012-02-05 02:50:57 +00:00
nobody
8a5cab7acc Integrated control+mouse quick camera shortcuts. 2012-01-28 02:10:19 +00:00
leo
bd2a951314 Started organizing the rendering functions. 2011-09-20 01:26:31 +00:00
leo
16ff1529c1 Removed useless options and reorganized the View menu. 2011-09-19 23:03:28 +00:00
leo
1f9a1761c0 Copied 0.75 branch as the new trunk. 2011-09-07 21:06:51 +00:00