Commit graph

104 commits

Author SHA1 Message Date
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