Commit graph

166 commits

Author SHA1 Message Date
Leonardo Zide
5d1a900683 Don't show library load progress when the running from the command line. 2017-11-24 20:00:16 -08:00
Leonardo Zide
eb674a3704 Fixed unresponsive UI while loading complex primitives. 2017-11-24 19:45:27 -08:00
Leonardo Zide
035da7ce0a Show a progress dialog while scanning parts folders. 2017-11-24 18:19:29 -08:00
Leonardo Zide
e905047179 Disabled update checks on OSX because of bug #62. Fixes #112. 2017-08-27 12:10:52 -07:00
leozide
d7b29d3800 Reduced normal welding angle to 60 degrees. 2017-08-24 16:51:45 -07:00
leozide
6ff8411366 Fixed loading subfile primitives from loose files. 2017-08-24 15:25:59 -07:00
leozide
3ebf97b251 Fixed reading parts.lst. 2017-08-24 14:36:04 -07:00
leozide
08f1e22c79 Fixed bug loading loose library files. 2017-08-22 11:41:26 -07:00
leozide
68d9c28dc2 Fixed loading primitives from loose files. 2017-07-27 16:09:38 -07:00
leozide
c1fe39fb72 Fixed compiler warning. 2017-07-27 12:40:52 -07:00
Leonardo Zide
82528a2c7a Don't uppercase part names when saving. 2017-07-27 09:21:55 -07:00
Leonardo Zide
94eb5b8ae2 Store library pieces in a map. 2017-07-23 19:35:18 -07:00
Leonardo Zide
692604ee50 Use a map for storing primitives. 2017-07-23 16:19:09 -07:00
Leonardo Zide
bca9b205af Support loading textures from the same folder of the model being loaded. 2017-07-01 17:12:09 -07:00
Leonardo Zide
05e3d7846c Update file functions to support multibyte strings. Fixes #46. 2017-05-29 13:32:45 -07:00
leozide
f7d61f33ce Updated code to use nullptr and override. 2017-04-13 17:26:40 -07:00
Leonardo Zide
f99a093c7a Draw edge lines unlit. 2017-03-22 23:35:02 -07:00
leozide
48f5b28b85 Fixed warning. 2017-03-20 13:03:31 -07:00
Leonardo Zide
8023f868cd Support loading parts from the 'unofficial' folder. 2017-03-19 13:12:24 -07:00
Leonardo Zide
4096d4a325 Fixed normal calculation. 2017-03-01 08:36:51 -08:00
leozide
37327277e8 Fixed mesh generation bug. 2017-02-28 17:14:29 -08:00
leozide
7e3f572b8e Added shaders for each material/lighting combination. 2017-02-28 15:20:34 -08:00
leozide
9978230506 Calculate mesh normals. 2017-02-27 16:03:12 -08:00
leozide
e09d9cae3f Fixed warning. 2017-02-21 12:57:25 -08:00
Leonardo Zide
6df1ceb165 Parse BFC statements in parts. 2017-02-21 08:09:13 -08:00
leozide
4b9cd6a038 Removed GetFileList. 2017-02-08 17:41:14 -08:00
Leonardo Zide
acdc14a209 Use QString for categories. 2017-02-08 09:41:48 -08:00
leozide
70fd2c3ce0 Removed old string class. 2017-02-07 18:55:54 -08:00
Leonardo Zide
e766f7892e Added 'All Parts' category. 2017-01-31 21:12:30 -08:00
Leonardo Zide
ca1505f770 Change the locale at startup only. 2017-01-23 20:46:52 -08:00
Leonardo Zide
f4d47d1631 Fixed incorrect piece loading logic. 2017-01-23 20:26:57 -08:00
leo
b03e820e3e More Qt4 fixes. 2017-01-22 22:44:54 -08:00
Leonardo Zide
ff18c042f1 Fix Qt4 error. 2017-01-22 21:22:46 -08:00
Leonardo Zide
76279c6f5c Correct way to include QtConcurrent. 2017-01-22 20:50:43 -08:00
Leonardo Zide
8c318cbdf1 Multithreaded piece loading. 2017-01-22 19:28:05 -08:00
Leonardo
7dbc27a7ce Removed old preview widget. 2016-12-28 13:30:31 -08:00
Leonardo Zide
0f0a55a5df Fixed cache checksum when there's no unofficial library archive. 2016-12-21 16:49:52 -08:00
Leonardo Zide
eb1bc1cd31 First pass of the new parts list widget. 2016-12-16 09:14:19 -08:00
Leonardo Zide
8152f99ec4 Fixed compiler warnings. 2016-12-01 23:09:14 -08:00
Leonardo Zide
dcfccd8eeb Rewrote how loose model files are loaded. 2016-11-25 17:12:19 -08:00
Leonardo
a74e51cd04 Fixed line endings. 2016-10-05 14:28:52 -07:00
Leonardo Zide
5d86d5ac98 Fixed reading loose mpd files referenced by another file. 2016-09-25 17:15:30 -07:00
Leonardo Zide
cde1334e0b Fixed bounding box of models loaded from loose files. 2016-09-25 13:15:43 -07:00
Leonardo
dc2b5db0a7 Fixes to compile with Qt 4.6. 2016-09-22 08:04:51 -07:00
leo
6e602174c0 Experimental conditional line support. 2016-08-22 01:11:32 +00:00
leo
1e8adcd880 Fixed HTML export of models with only 1 step. 2016-05-29 16:42:47 +00:00
leo
7ebcc16c41 Optimizations for loading very large models. 2016-05-29 02:46:34 +00:00
leo
9b2efa6f88 Search for files in the current model folder. 2016-05-28 20:30:23 +00:00
leo
73c7607ca6 Fixed loading pieces with more than 64k verts. 2016-05-28 18:18:00 +00:00
leo
61006184d1 Search the current path for submodels when opening files. 2016-05-28 17:35:13 +00:00
leo
d5ccd6289f Include cleanup. 2016-05-02 19:13:54 +00:00
leo
9c8a602a09 Fixed accessing const arrays as non-const. 2016-04-19 18:37:50 +00:00
leo
a24ebaaab9 Better string mesh generation. 2016-04-11 15:45:08 +00:00
leo
1cd4a8cee0 Added support for flexible technic ribbed hoses. 2016-02-29 20:13:54 +00:00
leo
510d190483 Support dynamic piece meshes. 2016-02-19 17:53:54 +00:00
leo
55e7cd4bab Warning fixes for VS 2015. 2016-02-16 23:11:52 +00:00
leo
0ec6269972 Don't release and reload meshes when using undo. 2015-11-16 02:41:16 +00:00
leo
b53debf017 Changed the library cache to use loose files. 2015-07-22 04:00:47 +00:00
leo
307ed62ceb Added mesh LOD. 2015-05-24 04:36:25 +00:00
leo
7170c1d0ee GL extensions cleanup. 2015-05-09 19:54:29 +00:00
leo
170b7fc775 Changed the vertex and index buffer types to a class. 2015-04-30 22:35:40 +00:00
leo
a880056013 Add model meshes to the library vbo. 2015-04-26 18:41:16 +00:00
leo
aa861cd036 Use a single vertex buffer for all pieces. 2015-04-26 18:14:33 +00:00
leo
635d408101 Support drawing primitives included directly by a model. 2015-02-28 20:31:57 +00:00
leo
4d9288c952 Support drawing triangles and lines in model files. 2015-02-23 00:50:37 +00:00
leo
786bf4283b Rewrote how model names work. 2015-02-22 02:39:15 +00:00
leo
7b34dd1fa7 Fixed refcount for pieces. 2015-02-07 23:20:15 +00:00
leo
a31963f1bd Fixed Minifig Wizard crashes related to buffer operations without a context. 2015-02-07 23:02:20 +00:00
leo
980d0c4a03 Removed category update before the window is created. 2015-02-05 22:55:09 +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
b1ed33ac3f Changed parts search to be just a simple substring search. 2015-01-06 15:17:29 +00:00
leo
5e69e680c6 Prevent models and placeholder parts from poluting the cache. 2015-01-04 18:59:02 +00:00
leo
e383eed986 Fixed loading files from the command line. 2014-12-31 16:38:30 +00:00
leo
788f0bf9e4 Added support for drawing submodels. 2014-12-24 15:52:52 +00:00
leo
493ad442b2 Finished separating model from project. 2014-12-08 07:32:39 +00:00
leo
ade4b61155 Added builtin library as a zip file. 2014-09-11 19:55:34 +00:00
leo
24f74795b8 Added baseplates to builtin library. 2014-09-10 01:41:37 +00:00
leo
07e6fce3ce Use LDraw units internally. 2014-08-30 19:48:36 +00:00
leo
d162acdf52 Moved mouse handling from project to view. 2014-05-17 23:03:05 +00:00
leo
65ede54f8b Added support for unofficial zip files. 2014-05-07 22:58:59 +00:00
leo
0c0cc2aefe Decreased distance to weld vertices to fix some parts not drawing correctly. 2014-05-01 15:26:45 +00:00
leo
649d6b351c Renamed window classes. 2013-08-16 01:25:51 +00:00
leo
4d0eb9ce3e Renamed source files. 2013-08-16 01:20:51 +00:00
leo
979217d023 Array class cleanup. 2013-08-15 23:43:18 +00:00
leo
f11c97777a Merged qtest branch into trunk. 2013-08-09 04:57:18 +00:00
leo
fba908166b Fixed importing parts with bow tie quads. 2013-03-21 21:16:51 +00:00
leo
1c10e656b2 Fixed compiler warning. 2013-02-26 03:06:51 +00:00
leo
ca6ff669e2 Added a small built-in library in case a real one is not available. 2013-02-23 01:21:49 +00:00
leo
8a22a11819 Fixed shadow declarations. 2013-02-12 23:36:30 +00:00
leo
a7796f4bca Initialize all member variables. 2013-02-11 22:25:16 +00:00
leo
b2cbf56ecc Create library cache directory. 2013-01-12 21:46:28 +00:00
leo
74e52034ad Force C locale when reading library files. 2013-01-12 21:00:38 +00:00
leo
ed05c622db Fixed uninitialized variable. 2013-01-08 01:40:40 +00:00
leo
49be422b02 Fixed line endings. 2013-01-02 08:07:59 +00:00
leo
51ca702bb6 Linux fixes. 2013-01-02 07:56:07 +00:00
leo
03327527e9 Read parts.lst instead of parsing each file. 2013-01-01 21:26:28 +00:00
leo
4d7fa13fc5 Fixed bug loading textures from zip files. 2012-12-18 18:55:06 +00:00
leo
1daef622cb Fixed default color detection when loading pieces. 2012-12-10 22:59:28 +00:00
leo
e86a99c5f4 Updated library version check. 2012-11-29 04:51:51 +00:00