Commit graph

319 commits

Author SHA1 Message Date
leozide
f7d61f33ce Updated code to use nullptr and override. 2017-04-13 17:26:40 -07:00
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
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
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
dd223856c9 Use alpha from color when exporting obj. 2017-02-15 09:01:38 -08:00
doyousketch2
d7a21c6265 Update project.cpp
Oh yeah, I didn't end up needing to use string compare, because I found the (Color->Translucent) property.
2017-02-14 19:57:41 -05:00
doyousketch2
199b56d5ac Include transparency values 2017-02-14 19:48:19 -05:00
Leonardo Zide
6b3869ce90 Fixes for iOS. 2017-02-11 12:41:00 -08:00
leozide
045d05eb67 Added category with parts in the current model. 2017-01-26 19:02:42 -08:00
Leonardo Zide
ca1505f770 Change the locale at startup only. 2017-01-23 20:46:52 -08:00
Leonardo
7dbc27a7ce Removed old preview widget. 2016-12-28 13:30:31 -08:00
Leonardo Zide
b2b143af99 Fixed incorrect camera position when saving images from the command line. 2016-12-07 21:57:53 -08:00
Leonardo Zide
ccadcf7e1a Fixed file name formatting when saving an image from the command line. 2016-12-07 09:08:23 -08:00
Leonardo Zide
dcfccd8eeb Rewrote how loose model files are loaded. 2016-11-25 17:12:19 -08:00
Leonardo
70463b9d8e Removed access to library internal array. 2016-11-17 12:10:33 -08:00
Leonardo
d8f14c1937 Removed code accessing library internals. 2016-11-16 14:53:41 -08:00
Leonardo Zide
5d86d5ac98 Fixed reading loose mpd files referenced by another file. 2016-09-25 17:15:30 -07:00
Leonardo
df61ddbfc7 Better file type detection when loading files. 2016-09-23 12:48:29 -07:00
Leonardo
dc2b5db0a7 Fixes to compile with Qt 4.6. 2016-09-22 08:04:51 -07:00
Leonardo
a90cd13697 Fixed extension check. 2016-09-17 13:21:29 -07:00
leo
2f0cf40af4 Enforce file extension in submodels. 2016-09-08 22:34:51 +00:00
leo
6e602174c0 Experimental conditional line support. 2016-08-22 01:11:32 +00:00
leo
6d483252c5 Clean up of some old dialog code. 2016-08-01 03:44:15 +00:00
leo
d8191b0758 Added option to control which models to export to HTML. 2016-05-30 22:41:03 +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
9278a6fe1e Warning fixes. 2016-03-06 20:19:02 +00:00
leo
32a22da00d Open submodels in separate tabs. 2016-03-06 01:47:00 +00:00
leo
55e7cd4bab Warning fixes for VS 2015. 2016-02-16 23:11:52 +00:00
leo
d105c05184 Added option to create a new model from the currently selected pieces. 2015-12-02 01:16:12 +00:00
leo
df28f02b82 Fixed POV render command line. 2015-08-08 20:55:10 +00:00
leo
307ed62ceb Added mesh LOD. 2015-05-24 04:36:25 +00:00
leo
7f7a93e015 Added shader support. 2015-05-16 23:04:35 +00:00
leo
7170c1d0ee GL extensions cleanup. 2015-05-09 19:54:29 +00:00
leo
aa861cd036 Use a single vertex buffer for all pieces. 2015-04-26 18:14:33 +00:00
leo
344f1756a3 Show a default file name in the export dialogs. 2015-03-27 20:39:43 +00:00
leo
89df6b58c2 Added command line option to export 3ds files. 2015-03-27 20:20:12 +00:00
leo
c9839c945e Fixed empty model being added when loading some MPD files. 2015-03-25 15:33:58 +00:00
leo
168ca86c2e Update the bounding box of submodels after loading. 2015-02-23 20:25:53 +00:00
leo
786bf4283b Rewrote how model names work. 2015-02-22 02:39:15 +00:00
leo
c670893deb Rendering optimizations. 2015-02-08 18:54:51 +00:00
leo
100245f207 Don't save model name in MPD files. 2015-02-08 03:29:42 +00:00
leo
b5ad5dba15 Fixed crash with export functions. 2015-02-08 00:05:07 +00:00
leo
4b82e75f5b Moved more file name variables to QString. 2015-02-02 06:00:42 +00:00
leo
e456b05ebf String cleanup. 2015-01-31 21:44:57 +00:00
leo
df7afb956a More Qt cleanup. 2015-01-31 20:38:53 +00:00
leo
bce59e8873 Message box cleanup. 2015-01-30 16:30:13 +00:00
leo
21d622bd59 Merged main window classes. 2015-01-25 23:04:39 +00:00
leo
f0209fa021 Added Wavefront export command line option. 2015-01-23 01:58:33 +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
474c9058ba Fixed double dot on file names when saving images. 2015-01-14 22:38:07 +00:00
leo
7a49635ea8 Fixed wrong colors in the wavefront exporter. 2015-01-14 16:41:32 +00:00
leo
ac06b213f2 Update version number. 2015-01-12 05:02:50 +00:00
leo
7db0e7f21e Fixed html export. 2015-01-12 04:49:30 +00:00
leo
06496f1cf0 Remove temporary pieces from the library after unloading a project. 2015-01-07 16:52:42 +00:00
leo
2fe1ed273a Workaround for a bug in QTextStream::pos() that was causing some mpd files to fail to load. 2015-01-06 15:38:51 +00:00
leo
7d30c9bc88 Fixed cases where a model wasn't creating its piece. 2015-01-05 22:44:05 +00:00
leo
28be739db0 Fixed bounding box calculation of nested submodels. 2015-01-02 16:44:01 +00:00
leo
e383eed986 Fixed loading files from the command line. 2014-12-31 16:38:30 +00:00
leo
03303cd06e Zoom extents after loading a file. 2014-12-30 23:45:27 +00:00
leo
98aa121dec Correctly draw selection box outline of submodels. 2014-12-30 16:56:13 +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
7716e0ae37 Always use last step when drawing models that aren't current. 2014-12-25 15:25:50 +00:00
leo
788f0bf9e4 Added support for drawing submodels. 2014-12-24 15:52:52 +00:00
leo
ffc58f554c Fixed merge. 2014-12-23 17:02:23 +00:00
leo
b3d8fafeb4 Fixed copy and paste. 2014-12-15 23:55:17 +00:00
leo
b20d52e2f9 Added model list dialog. 2014-12-12 23:42:09 +00:00
leo
5037897261 Added model menu. 2014-12-09 23:56:29 +00:00
leo
493ad442b2 Finished separating model from project. 2014-12-08 07:32:39 +00:00
leo
dbe7f759ed Move command handling to main window. 2014-12-04 01:47:28 +00:00
leo
9ebccc4a19 Moved last remaining functions out of project. 2014-11-30 17:53:09 +00:00
leo
d4ab2e9f90 More cleanup. 2014-11-29 02:55:58 +00:00
leo
deabf0524a Moved more functionality out of the project. 2014-11-25 00:51:34 +00:00
leo
a63743c73f Reorganized drawing functions. 2014-11-23 23:48:56 +00:00
leo
848224bf3b Reorganized group functions. 2014-11-10 00:06:11 +00:00
leo
477cf69977 Reorganized zoom functions. 2014-11-08 01:05:17 +00:00
leo
c7ab540117 Small cleanup. 2014-10-24 00:41:19 +00:00
leo
5834587204 Support gradient and texture backgrounds in the preview widget. 2014-10-23 22:03:50 +00:00
leo
55e7cad5e1 Rewrote HTML export. 2014-10-13 03:43:33 +00:00
leo
50a018f1a7 File load cleanup. 2014-10-12 17:34:18 +00:00
leo
ebd7c4be5d More descriptive error message when failing to save images. 2014-10-12 02:30:34 +00:00
leo
d6ceb6bfdc Simplified the Save Image Dialog. 2014-10-11 23:26:23 +00:00
leo
f9b0cbbc05 Moved export functions to model. 2014-10-10 23:53:08 +00:00
leo
a6a69b7661 Reuse piece bounding box function to avoid duplication. 2014-10-10 01:25:31 +00:00
leo
6684abf96a More project cleanup. 2014-10-07 23:02:52 +00:00
leo
56b09b03b0 Moved snap functions to project. 2014-10-05 05:42:38 +00:00
leo
2ca5665235 Moved mouse handling to the model. 2014-10-05 05:21:51 +00:00
leo
d1f1401ca3 Moved search out of the project. 2014-09-21 01:31:01 +00:00
leo
34de3928b6 Added support for translations. 2014-09-15 23:41:46 +00:00
leo
7c7b461fb0 Removed old terrain editor. 2014-09-14 23:32:58 +00:00
leo
4e44915e49 Removed binary file save. 2014-09-14 00:45:45 +00:00
leo
6b5db8aff9 Updated save file format. 2014-09-08 19:42:20 +00:00
leo
a9be648237 Use QString for model properties. 2014-09-06 01:34:03 +00:00
leo
05cafd4055 Use QTextStream for saving files. 2014-09-05 00:24:28 +00:00
leo
9454ebb929 Removed JSON exporter. 2014-09-04 14:27:37 +00:00