Commit graph

110 commits

Author SHA1 Message Date
Leonardo Zide
c34810c084 Static analysis fixes. 2017-04-02 17:15:09 -07:00
Leonardo Zide
b9726a2a99 Reorganized scene and context classes. 2017-04-01 16:53:54 -07:00
Leonardo Zide
57b8732ed6 Context state cleanup. 2017-03-25 12:29:28 -07:00
Leonardo Zide
155fa7cdc2 Removed redundant glBlendFunc calls. 2017-03-25 00:03:17 -07:00
leozide
eb7a8a86de Removed SetTextureMode. 2017-03-24 18:36:58 -07:00
Leonardo Zide
c85f0f7eea Disable normals for unlit passes. 2017-03-24 09:34:53 -07:00
leozide
d6efc97089 Removed SetLightingMode. 2017-03-17 15:53:26 -07:00
Leonardo Zide
acd5a485f0 Added a decal material to fix the texmap extension. 2017-03-12 13:51:14 -07:00
leozide
8125ee8f74 Moved Duplicate to the Piece Menu. 2017-03-08 15:55:38 -08:00
leozide
cf65201095 Added Duplicate Piece action. 2017-03-08 15:49:57 -08:00
leozide
7e3f572b8e Added shaders for each material/lighting combination. 2017-02-28 15:20:34 -08:00
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