Commit graph

57 commits

Author SHA1 Message Date
Leonardo Zide
499e648673 Use individual bounding boxes for zoom extents. 2020-12-31 10:22:12 -08:00
Leonardo Zide
7275c4256d Added const qualifiers. 2020-03-22 20:18:52 -07:00
Leonardo Zide
90f1336a48 Scoped enums and constexpr. 2020-03-22 13:44:20 -07:00
Leonardo Zide
1c5c82a609 Avoid rolling the camera when using Look At. Fixes #407. 2019-12-25 12:25:32 -08:00
Leonardo Zide
44bdb22a5b Try to add lights and cameras near the center of the model. 2019-08-10 12:31:28 -07:00
Leonardo Zide
d1a80399c8 Check if camera values are nan when loading tab layouts. 2019-07-13 08:58:31 -07:00
Leonardo Zide
0621a3848f Fixed pan not working when the center of the model is behind the camera. Fixes #161. 2018-02-04 11:53:13 -08:00
Leonardo Zide
ebc67d2a8b Initial implementation of spherical texture mapping. 2018-01-27 15:57:48 -08:00
Leonardo
d242fa7ea5 Don't reset tab layout when reloading a model. 2018-01-02 19:46:50 -08:00
Leonardo
104f5c843e Auto calculate the far plane when generating preview images. 2017-12-21 14:02:16 -08:00
Leonardo Zide
58219c946c Fixed compiler warnings. 2017-12-12 22:17:14 -08:00
Leonardo Zide
636e013455 Removed lcint types. 2017-12-02 12:22:04 -08:00
Leonardo Zide
aff1f1a69f Fixed compiler warnings. 2017-07-22 17:23:11 -07:00
leozide
b2c739dc5a Increased precision of angle constants. 2017-07-20 17:15:49 -07:00
leozide
ca755a2fba Added QDebug operators to math classes. 2017-07-19 15:31:47 -07:00
leozide
c924b90955 Converted include guards to pragma once. 2017-07-19 14:20:32 -07:00
Leonardo Zide
3d7bfdafb0 New LDD importer. 2017-07-08 09:29:35 -07:00
Leonardo Zide
77a70758f8 Fixed static analysis warnings. 2017-07-02 20:12:17 -07:00
leozide
0381a0c74f Static analysis fixes. 2017-04-20 17:53:42 -07:00
Leonardo Zide
043246fbe6 Changed normal format for compatibility. 2017-03-05 22:14:50 -08:00
Leonardo Zide
4096d4a325 Fixed normal calculation. 2017-03-01 08:36:51 -08:00
leozide
9978230506 Calculate mesh normals. 2017-02-27 16:03:12 -08:00
Leonardo Zide
6df1ceb165 Parse BFC statements in parts. 2017-02-21 08:09:13 -08:00
Leonardo Zide
3d1efcabec Added room in the meshes for normals. 2017-02-18 11:12:35 -08:00
Leonardo Zide
0f2e808477 Fixed printing. 2017-02-11 09:46:21 -08:00
leo
1d31a5b262 Improved mesh generation for flexible axles. 2016-03-04 23:53:08 +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
d715c316a6 Allow changing multiple pieces at the same time using the properties widget. 2015-12-22 22:44:46 +00:00
leo
aa861cd036 Use a single vertex buffer for all pieces. 2015-04-26 18:14:33 +00:00
leo
5afec8b702 Rewrote move overlay drawing. 2015-04-20 02:09:18 +00:00
leo
35fe45ada8 Preserve file comments when saving. 2015-03-21 20:12:04 +00:00
leo
c670893deb Rendering optimizations. 2015-02-08 18:54:51 +00:00
leo
12d0094806 Store piece transformations as matrices to allow scaling. 2015-01-10 20:30:37 +00:00
leo
0aae5d339f Fixed mouse selection of submodels. 2014-12-26 15:44:46 +00:00
leo
d4ab2e9f90 More cleanup. 2014-11-29 02:55:58 +00:00
leo
d162acdf52 Moved mouse handling from project to view. 2014-05-17 23:03:05 +00:00
leo
75f093f96d Moved properties and preferences into their own classes. 2014-02-10 00:13:41 +00:00
leo
418481f8c8 Orthographic projection option. 2013-12-17 02:43:16 +00:00
leo
8609014e64 Added option to draw studs on the base grid. 2013-08-31 21:58:47 +00:00
leo
f11c97777a Merged qtest branch into trunk. 2013-08-09 04:57:18 +00:00
leo
b0ac0089ab Removed old matrix class. 2012-10-18 18:57:21 +00:00
leo
9c53860e4a Added texture mapping support. 2012-10-11 23:55:55 +00:00
leo
71f27a45c2 New Pieces Library code. 2012-09-29 00:16:43 +00:00
leo
4da5f06d9a Camera cleanup. 2012-08-23 18:47:37 +00:00
leo
9be1948d4d Bounding box cleanup. 2012-08-16 23:50:40 +00:00
leo
524e2d3be2 Updated mouse workflow to avoid switching actions as often. 2012-07-31 05:27:40 +00:00
leo
ad5351cbbf Deleted old algebra files. 2012-07-12 04:18:10 +00:00
leo
1d72f82c9b Hardcoded number of planes in frustum intersection code to 6. 2012-07-03 22:56:05 +00:00
leo
7c6242bd27 Removed old functions. 2012-06-29 23:50:29 +00:00