Commit graph

57 commits

Author SHA1 Message Date
leo
0ec6269972 Don't release and reload meshes when using undo. 2015-11-16 02:41:16 +00:00
leo
e3b5d9395d Fixed crash with placeholder parts. 2015-07-04 21:52:09 +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
77e103264d Set colors through the context. 2015-05-04 00:51:41 +00:00
leo
86f89472ac OSX compile fixes. 2015-04-04 23:52:20 +00:00
leo
35fe45ada8 Preserve file comments when saving. 2015-03-21 20:12:04 +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
f4e14b6394 Fixed missing uppercase when update a model's piece. 2015-02-09 01:33:28 +00:00
leo
c670893deb Rendering optimizations. 2015-02-08 18:54:51 +00:00
leo
6ad512d012 Only update the piece info for a model after its project is set active. 2015-01-17 18:29:10 +00:00
leo
b6f8e8e651 Reuse same mesh for all placeholder pieces. 2015-01-08 04:50:38 +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
7546ff0b54 Fixed crash drawing models in the piece preview. 2015-01-02 11:58:14 +00:00
leo
d7396b4edb Fixed export functions. 2014-12-30 16:30:12 +00:00
leo
e1e9a022ca Fixed saving mpd files. 2014-12-26 17:09:11 +00:00
leo
0aae5d339f Fixed mouse selection of submodels. 2014-12-26 15:44:46 +00:00
leo
788f0bf9e4 Added support for drawing submodels. 2014-12-24 15:52:52 +00:00
leo
ade4b61155 Added builtin library as a zip file. 2014-09-11 19:55:34 +00:00
leo
07e6fce3ce Use LDraw units internally. 2014-08-30 19:48:36 +00:00
leo
65ede54f8b Added support for unofficial zip files. 2014-05-07 22:58:59 +00:00
leo
38757baec7 Refactored adding meshes. 2014-04-23 14:53:43 +00:00
leo
18db90b7f5 Keep vertex array state always enabled during rendering. 2014-02-16 19:36:11 +00:00
leo
3b08ba7a0b Removed display lists. 2014-01-31 00:29:09 +00:00
leo
f11c97777a Merged qtest branch into trunk. 2013-08-09 04:57:18 +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
3970dd3698 Fixed crash on exit. 2012-10-12 00:21:04 +00:00
leo
9c53860e4a Added texture mapping support. 2012-10-11 23:55:55 +00:00
leo
08d7f05ffc Added support to load loose library files. 2012-10-02 22:16:36 +00:00
leo
30ec8634d8 Start using the new Pieces Library. 2012-10-02 01:23:44 +00:00
leo
71f27a45c2 New Pieces Library code. 2012-09-29 00:16:43 +00:00
leo
0b30c346df Fixed wrong stud radius. 2012-09-13 17:59:57 +00:00
leo
14e4b0c6fe Fixed uninitialized variable when creating placeholder mesh. 2012-09-04 18:59:05 +00:00
leo
7c6242bd27 Removed old functions. 2012-06-29 23:50:29 +00:00
leo
8c04f52e14 Code cleanup. 2012-06-21 00:41:53 +00:00
leo
cedfb6af8f Sort translucent pieces by distance when rendering. 2012-05-16 23:48:16 +00:00
leo
7390c65790 Updated code to new colors. 2012-04-21 01:30:02 +00:00
leo
392f399b89 Switched rendering to new color format. 2012-04-18 00:03:28 +00:00
leo
4093da4866 Updated pieces library format to always store the correct color codes. 2012-04-16 04:41:40 +00:00
leo
942ccc6d0d Updated old code to use mesh class. 2012-04-14 17:05:55 +00:00
leo
79ccca4296 Updated functions to use the new mesh class. 2012-04-14 02:20:27 +00:00
leo
aa401846b6 Added new mesh class. 2012-04-13 23:41:58 +00:00
leo
067838dfd8 Linux fixes. 2012-04-11 23:32:38 +00:00
leo
fa1b2066e3 Remove degenerate triangles when exporting Wavefront files. 2012-04-11 21:56:41 +00:00
leo
3e5a0a447d Replaced old Vector class. 2012-03-29 01:10:55 +00:00
leo
7a5bdf36a9 Rewrote file classes. 2012-03-22 23:44:56 +00:00