Leonardo Zide
752ae54788
Fixed interface draw location in active submodels.
2018-04-07 17:17:32 -07:00
Leonardo Zide
760d14c6e4
Fixed not being able to dive into a nested submodel.
2018-04-07 15:49:03 -07:00
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
Leonardo Zide
6b3869ce90
Fixes for iOS.
2017-02-11 12:41:00 -08:00
Leonardo Zide
0f2e808477
Fixed printing.
2017-02-11 09:46:21 -08:00
Leonardo Zide
cfdfe30b40
Replaced GL_QUAD calls.
2017-02-11 08:30:57 -08:00
Leonardo Zide
e7fe26d2a4
Stop caching the GL viewport since OSX changes it when making a context current.
2017-01-29 19:31:30 -08:00
Leonardo Zide
eb1bc1cd31
First pass of the new parts list widget.
2016-12-16 09:14:19 -08:00
Leonardo Zide
ed37143a6b
Better piece insert position calculation.
2016-11-06 16:24:44 -08:00
Leonardo
dc2b5db0a7
Fixes to compile with Qt 4.6.
2016-09-22 08:04:51 -07:00
leo
8434c26087
Fixed context menu not showing in some cases.
2016-05-19 21:16:31 +00:00
leo
2e276f26df
Better handling of customized mouse shortcuts.
2016-05-09 01:59:10 +00:00
leo
d5ccd6289f
Include cleanup.
2016-05-02 19:13:54 +00:00
leo
4d9113c1d0
Fixed gcc warnings.
2016-05-02 18:22:38 +00:00
leo
a0db9ce210
Added synth support for shock absorbers.
2016-05-01 00:20:37 +00:00
leo
26f9859a8e
Added mouse preferences tab.
2016-04-25 05:26:34 +00:00
leo
5b0bf780cc
Configurable mouse shortcuts.
2016-04-23 00:17:33 +00:00
leo
6547969d24
Fixed a few rotation bugs in flexible objects.
2016-04-19 16:30:29 +00:00
leo
92882ae13e
Fixed warnings.
2016-04-05 21:47:01 +00:00
leo
2842cccf53
Use the centroid of the selected pieces when rotating pieces.
2016-03-13 20:07:28 +00:00
leo
8af94f050f
Added overlay to change the control point scale.
2016-03-12 00:05:49 +00:00
leo
32a22da00d
Open submodels in separate tabs.
2016-03-06 01:47:00 +00:00
leo
b5233f714c
Added options to add and remove control points.
2016-03-03 00:04:49 +00:00
leo
510d190483
Support dynamic piece meshes.
2016-02-19 17:53:54 +00:00
leo
55352082d9
Fixed gcc warnings.
2016-01-25 19:57:27 +00:00
leo
d715c316a6
Allow changing multiple pieces at the same time using the properties widget.
2015-12-22 22:44:46 +00:00
leo
6a9d1eb585
Use Matrix33 for relative rotations.
2015-12-15 19:47:52 +00:00
leo
a035bf7ed1
Move pivot point with the mouse.
2015-12-14 18:01:17 +00:00
leo
64adbc6efc
Added option to view the first selected submodel.
2015-12-04 22:41:08 +00:00
leo
1f47b89d57
Added more options to context menu.
2015-12-04 20:32:10 +00:00
leo
55f87378cd
Mouse buttons 4 and 5 now work to navigate steps.
2015-09-06 19:52:17 +00:00
leo
6b86d13042
Fixed rotate overlay drawing.
2015-05-25 18:02:57 +00:00
leo
f001916a05
Fixed camera name not drawing correctly.
2015-05-25 17:36:22 +00:00
leo
b821a76b17
Compile fixes.
2015-05-17 06:47:10 +00:00
leo
7f7a93e015
Added shader support.
2015-05-16 23:04:35 +00:00
leo
77e103264d
Set colors through the context.
2015-05-04 00:51:41 +00:00
leo
170b7fc775
Changed the vertex and index buffer types to a class.
2015-04-30 22:35:40 +00:00
leo
20945362e5
Create a static buffer for the move overlay.
2015-04-27 00:47:31 +00:00
leo
aa861cd036
Use a single vertex buffer for all pieces.
2015-04-26 18:14:33 +00:00
leo
2063514f2f
Added snap toggle back.
2015-04-24 22:11:50 +00:00
leo
5afec8b702
Rewrote move overlay drawing.
2015-04-20 02:09:18 +00:00
leo
d59dfe9444
Rewrote camera and light drawing.
2015-04-19 01:10:01 +00:00
leo
81fc732158
Use a vertex buffer for the grid.
2015-04-14 04:14:10 +00:00
leo
3081ed2df8
Center axis labels.
2015-04-06 00:36:27 +00:00
leo
be59eb624f
Fixed line width not being set for edge lines.
2015-03-17 04:24:53 +00:00
leo
537aa5552b
Better updates for the timeline.
2015-03-14 21:09:10 +00:00
leo
7440111b64
Allow different cameras for each submodel.
2015-03-01 23:17:50 +00:00
leo
e4eb0e65d7
Fixed zoom extents and region on ortho cameras.
2015-02-15 02:24:08 +00:00
leo
141696ec8c
Changed how zoom extents work.
2015-02-14 20:47:50 +00:00
leo
853f28c6c3
Changed pan tool to have the mouse follow the objects on the screen.
2015-02-08 21:05:50 +00:00
leo
c670893deb
Rendering optimizations.
2015-02-08 18:54:51 +00:00