Commit Graph
147 Commits
Author SHA1 Message Date
Leonardo Zide 718b31a2bd Fixed selection tinting when editing submodels. 2018-04-07 11:45:00 -07:00
Leonardo Zide b30ffd1b59 Initial implementation of in place submodel editing. 2018-03-29 10:20:36 -07:00
Leonardo Zide 232ece5e6b Only check QGLFormat::samples when sampleBuffers is enabled. Fixes #196. 2018-02-24 18:22:53 -08:00
Leonardo Zide 856d0e10d5 Fixed camera menu not updating when selecting a viewpoint and the active view has a camera. 2018-02-17 17:32:07 -08:00
Leonardo Zide 769b80b22d Support dragging colors from the color palette to paint pieces. Closes #177. 2018-01-12 10:50:25 -08:00
Leonardo Zide 752ee5c4e7 Prevent mouse shortcuts from overriding overlay actions. Fixes #180. 2018-02-06 14:47:11 -08:00
Leonardo Zide 8334f2d877 Moved axis icon to keep it in view. Fixes #168. 2018-02-06 11:31:05 -08: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 7ca156b3a7 Added commands for moving the camera relative to its current orientation. 2018-01-15 11:35:15 -08:00
Leonardo Zide dff8aac29b Restore last tab layout when loading a file. 2018-01-06 15:01:04 -08:00
Leonardo e097ad630b Fixed tiled render math. Fixes #156. 2018-01-04 10:22:57 -08:00
Leonardo e4b759009f Use smaller tiles when saving images with MSAA. Fixes #154. 2018-01-01 07:56:25 -08:00
Leonardo 50b3e95215 Reuse the same FBO when creating new preview images. 2017-12-29 06:50:18 -08:00
Leonardo 804e0f6f53 Save MSAA images. Fixes #101. 2017-12-26 10:19:20 -08:00
leozide 2d538390d3 Added --camera-angles command line option. Closes #147. 2017-12-13 17:36:35 -08:00
Leonardo Zide 636e013455 Removed lcint types. 2017-12-02 12:22:04 -08:00
Leonardo Zide 6878d0157f Support selection mode on all selection tools. 2017-11-21 22:54:49 -08:00
leozide 848cdd9daf Added piece selection modes. 2017-11-21 17:58:36 -08:00
leozide 696189e171 Added Shift+LMB shortcut to remove selection. 2017-11-20 15:12:00 -08:00
Leonardo Zide 80c226db56 Fixed multiple selection. 2017-11-19 13:27:42 -08:00
leozide 2b14b67eb1 Added Tools submenu. 2017-11-14 14:56:37 -08:00
leozide 846a2ac610 Fixed new move tool. 2017-11-13 12:47:35 -08:00
leozide 2e6fbd0679 Fixed crash using the old move tool. 2017-11-13 11:16:29 -08:00
Leonardo Zide 470be6b7a9 New piece free movement mode. 2017-11-12 19:38:07 -08:00
leozide fb62beb933 Added Shading and Projection to context menu. Closes #128. 2017-10-31 12:33:35 -07:00
leozide bc327a3b00 Fixed relative snap when adding pieces with the mouse. 2017-09-08 14:11:48 -07:00
Leonardo Zide 4bf4f14d4e Fixed zfar during tiled render. 2017-08-05 12:12:42 -07:00
Leonardo Zide 51afa3acde Merged TiledRender into the View class. 2017-08-05 12:02:45 -07:00
Leonardo Zide 02231b363b Support saving images larger than 2048. 2017-07-30 14:18:57 -07:00
Leonardo Zide f024007157 Keep camera name as a c string for now. 2017-06-20 21:43:39 -07:00
Alistair Buxton 240c8f68a5 Add command line options to set submodel and camera. 2017-06-20 21:25:27 -07:00
Leonardo Zide 05104162e9 Only highlight new pieces when the option is enabled. 2017-06-20 08:20:59 -07:00
Alistair Buxton 2de2e2c187 Highlight parts added in the current step. 2017-06-20 07:47:31 -07:00
leozide 8da318037d Removed fog options. 2017-04-21 14:17:03 -07:00
Johannes Sixt 2448a47071 Fortify against random control points in imported files.
It can happen (accidentally or maliciously) that control points are
imported from a file for pieces that cannot be synthesized. In such a case,
a click on the control point indicator leads to a NULL pointer access.
Insert checks so that the click is effectively ignored.
2017-04-15 16:41:32 +02:00
leozide d0de0fbf65 Removed deprecated header. 2017-04-14 18:14:16 -07:00
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
Leonardo Zide 155fa7cdc2 Removed redundant glBlendFunc calls. 2017-03-25 00:03:17 -07:00
leozide eb7a8a86de Removed SetTextureMode. 2017-03-24 18:36:58 -07:00
Leonardo Zide c85f0f7eea Disable normals for unlit passes. 2017-03-24 09:34:53 -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 8125ee8f74 Moved Duplicate to the Piece Menu. 2017-03-08 15:55:38 -08:00
leozide cf65201095 Added Duplicate Piece action. 2017-03-08 15:49:57 -08: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 6094899dc2 Fixed clang analyzer warnings. 2017-02-12 18:05:20 -08:00