Leonardo Zide
61e803c161
Added fake lighting shader.
2017-03-11 16:47:21 -08:00
leozide
0677dcfd02
Moved Duplicate to the Piece Menu.
2017-03-08 15:57:24 -08: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
Leonardo Zide
043246fbe6
Changed normal format for compatibility.
2017-03-05 22:14:50 -08:00
leozide
4d844dd90a
Added normals to cube mesh.
2017-03-03 18:04:52 -08:00
Leonardo Zide
c833912f78
Merge pull request #31 from j6t/master
...
Draw a dark gray border around color indicators in the time line.
2017-03-03 16:11:04 -08:00
leozide
3e4063f962
Set lighting for minifigs. Fixes #32 .
2017-03-03 16:08:39 -08:00
Johannes Sixt
d393cf83b3
Draw a dark gray border around color indicators in the time line.
...
This makes white, yellow and other colors more visible. In particular,
white entries do not look like absent against a white window background.
Due to the border, the circle must now be smaller by one pixel.
2017-03-04 00:06:01 +01:00
leozide
f7aa4890ee
Remove empty steps when moving pieces to a new model.
2017-03-03 12:14:32 -08:00
leozide
1794e8c9c2
Fixed invalid bounding box when no pieces are visible.
2017-03-03 12:07:04 -08: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
Leonardo Zide
3d1efcabec
Added room in the meshes for normals.
2017-02-18 11:12:35 -08:00
Leonardo Zide
641f4803e2
Added select by color dialog. Closes #18 .
2017-02-16 22:57:11 -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
6094899dc2
Fixed clang analyzer warnings.
2017-02-12 18:05:20 -08:00
Leonardo Zide
5875284d5d
Updated version number.
2017-02-11 17:51:57 -08:00
Leonardo Zide
b2cb923e28
Fixed shaders on desktop GL.
2017-02-11 12:43:47 -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
leozide
506e91a16c
Added extra large icons option. Fixes #17 .
2017-02-08 17:47:30 -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
e22d127660
String cleanup.
2017-02-07 09:35:11 -08:00
Leonardo Zide
93ef02919a
Prevent shortcuts from overriding key events in the parts widget.
2017-02-06 20:46:25 -08:00
leozide
87a8201d2c
Fixed Qt4 errors.
2017-02-06 14:20:09 -08:00
Leonardo Zide
77f4cf8de4
Better default window layout.
2017-02-06 09:06:52 -08:00
Leonardo Zide
48d252bfb3
Set categories for parts without one.
2017-02-04 19:59:02 -08:00
Leonardo Zide
57eded0673
Updated default colors to 2016-12-28.
2017-02-04 19:37:40 -08:00
Leonardo Zide
0dabe0d435
Added SetCurrentStep and MoveSelection to Timeline context menu.
2017-02-04 18:40:46 -08:00
Leonardo Zide
e3bb498741
Added option to lock the preview color.
2017-02-04 13:14:41 -08:00
Leonardo Zide
0f89bc8233
Allow toolbars to be docked anywhere.
2017-02-04 11:34:32 -08:00
Leonardo Zide
d34f5050dd
Don't allow multiple lines of text for the preview icons.
2017-02-03 00:31:37 -08:00
Leonardo Zide
e766f7892e
Added 'All Parts' category.
2017-01-31 21:12:30 -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
leozide
32f2f3fac7
More parts list options.
2017-01-27 18:20:44 -08:00
leozide
045d05eb67
Added category with parts in the current model.
2017-01-26 19:02:42 -08:00
leozide
ea5c2512a7
Fixed crash.
2017-01-26 18:47:59 -08:00
Leonardo Zide
ec169c8263
Fixed race condition drawing previews.
2017-01-24 19:49:49 -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
leozide
e84fef5c73
Fixed Qt4 errors.
2017-01-10 17:48:05 -08:00
Leonardo
31cf6456b3
Process events between preview updates.
2017-01-04 06:45:01 -08:00
Leonardo
fcf4b24d84
Fixed crash pasting.
2016-12-31 06:36:49 -08:00
Leonardo
38be0becb3
Added frame around color widget.
2016-12-29 07:37:24 -08:00
Leonardo
ee49480334
Draw preview using the current color.
2016-12-29 07:28:53 -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
leozide
b5e61f2c26
Added option to choose the size of the parts icons.
2016-12-20 14:46:12 -08:00
leozide
8ed7e0d6c8
Removed old parts tree.
2016-12-20 14:11:19 -08:00
leozide
d8bea07834
Fixed compiling with Qt4.
2016-12-19 14:23:26 -08:00
Leonardo Zide
4819d42610
Added models to new parts list.
2016-12-18 18:53:25 -08:00
Leonardo
1ef60b8ddf
Improved part search filter.
2016-12-16 12:52:36 -08:00
Leonardo Zide
eb1bc1cd31
First pass of the new parts list widget.
2016-12-16 09:14:19 -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
923e7513f1
Have the app return 0 when successfully saving an image from the command line.
2016-12-07 09:24:47 -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
dedc429685
Fixed parts list showing parts with invalid colors.
2016-12-04 18:34:12 -08:00
Leonardo Zide
1cacf33e4b
Fixed file loading.
2016-12-04 18:12:39 -08:00
Leonardo Zide
8152f99ec4
Fixed compiler warnings.
2016-12-01 23:09:14 -08:00
Leonardo Zide
672eb5e35d
Updated version number.
2016-12-01 21:54:38 -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
ed37143a6b
Better piece insert position calculation.
2016-11-06 16:24:44 -08:00
Leonardo Zide
1070ea664f
Remember last folder used to open a project.
2016-10-15 13:00:26 -07:00
Leonardo Zide
7e7e562d45
Open files when they are dropped on the main window.
2016-10-15 12:13:31 -07:00
Leonardo
ed0e3a252f
Fixed install icon.
2016-10-05 14:37:08 -07: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
df61ddbfc7
Better file type detection when loading files.
2016-09-23 12:48:29 -07:00
Leonardo
60712b6bd1
Fixed translucent triangles not drawing.
2016-09-22 08:06:41 -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
a6d3df04b0
Updated version.
2016-08-13 15:02:32 +00:00
leo
4a4c3ff02c
Fixed compiler error with libc 2.23.
2016-08-10 22:29:59 +00:00
leo
6d483252c5
Clean up of some old dialog code.
2016-08-01 03:44:15 +00:00
leo
21504371dd
Fixed Minifig Wizard crash when closing.
2016-06-15 01:14:43 +00:00
leo
acfa6784a7
Fixed more instances of unlocalized decimal separators.
2016-06-13 23:57:31 +00:00
leo
df0e7cc221
Made shortcuts translatable.
2016-06-12 23:05:26 +00:00
leo
d8191b0758
Added option to control which models to export to HTML.
2016-05-30 22:41:03 +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
fd225d33d6
Fixed loading flex pieces without control points.
2016-05-21 01:21:21 +00: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
f24b0923bb
Crash fix.
2016-05-08 20:19:23 +00:00
leo
65b8880bf8
OSX fixes.
2016-05-08 02:16:52 +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
1741a713d2
Save and load control points.
2016-05-02 05:33:58 +00:00
leo
a0db9ce210
Added synth support for shock absorbers.
2016-05-01 00:20:37 +00:00
leo
638fd10beb
Changed mouse shortcuts format to a string list.
2016-04-30 19:40:46 +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
9c8a602a09
Fixed accessing const arrays as non-const.
2016-04-19 18:37:50 +00:00
leo
6547969d24
Fixed a few rotation bugs in flexible objects.
2016-04-19 16:30:29 +00:00
leo
8de6f06113
Removed debug color.
2016-04-16 20:49:14 +00:00
leo
59e8583ee4
Optimized flexible axle generation.
2016-04-16 20:35:16 +00:00
leo
a24ebaaab9
Better string mesh generation.
2016-04-11 15:45:08 +00:00
leo
92882ae13e
Fixed warnings.
2016-04-05 21:47:01 +00:00
leo
07d29d0fc5
Added support for flexible braided strings.
2016-04-04 05:11:29 +00:00
leo
3beec440a2
Fixed control point overlay position.
2016-04-02 23:11:39 +00:00
leo
2842cccf53
Use the centroid of the selected pieces when rotating pieces.
2016-03-13 20:07:28 +00:00
leo
1902dff957
Made control points translucent.
2016-03-12 00:38:02 +00:00
leo
8af94f050f
Added overlay to change the control point scale.
2016-03-12 00:05:49 +00:00
leo
efe7dcba35
Force views to recalculate their sizes when they are created.
2016-03-08 00:30:00 +00:00
leo
c47856e10c
Fixed view split.
2016-03-07 18:30:25 +00:00
leo
9278a6fe1e
Warning fixes.
2016-03-06 20:19:02 +00:00
leo
836a508224
Fixes for qt4.
2016-03-06 20:07:39 +00:00
leo
32a22da00d
Open submodels in separate tabs.
2016-03-06 01:47:00 +00:00
leo
1d31a5b262
Improved mesh generation for flexible axles.
2016-03-04 23:53:08 +00:00
leo
52c97dd81a
Added flexible axle support.
2016-03-04 03:18:23 +00:00
leo
b5233f714c
Added options to add and remove control points.
2016-03-03 00:04:49 +00:00
leo
1cd4a8cee0
Added support for flexible technic ribbed hoses.
2016-02-29 20:13:54 +00:00
leo
c4689812a2
Fixed last model entry not being added to the menu.
2016-02-25 01:44:12 +00:00
leo
e377928045
Fixed unhandled actions.
2016-02-21 06:57:36 +00:00
leo
d39adad459
Increased number of entries in the model menu.
2016-02-20 19:39:42 +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
55352082d9
Fixed gcc warnings.
2016-01-25 19:57:27 +00:00
leo
67de90982b
Cleanup.
2015-12-22 22:47:22 +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
932053b803
Fixed loading pivots.
2015-12-17 00:41:10 +00:00
leo
d7febf9a7f
Save pivot point.
2015-12-16 22:36:42 +00:00
leo
02551e6d21
Fixed basic pivot rotation.
2015-12-16 00:28:40 +00:00
leo
6a9d1eb585
Use Matrix33 for relative rotations.
2015-12-15 19:47:52 +00:00
leo
dfc94a42e5
Rotate pivot points.
2015-12-15 01:57:22 +00:00
leo
a035bf7ed1
Move pivot point with the mouse.
2015-12-14 18:01:17 +00:00
leo
5e543c43a7
Initial work for control points in pieces.
2015-12-11 01:46:30 +00:00
leo
ecef3ce47d
Fixed texmap extension.
2015-12-05 19:56:25 +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
d105c05184
Added option to create a new model from the currently selected pieces.
2015-12-02 01:16:12 +00:00
leo
a95cbfa8c0
Added option to inline models.
2015-12-01 23:31:28 +00:00
leo
526e35d2aa
Translated color group names.
2015-11-30 19:32:33 +00:00
leo
8fab83f2f0
Faster timeline selection updates.
2015-11-28 22:12:47 +00:00
leo
0ec6269972
Don't release and reload meshes when using undo.
2015-11-16 02:41:16 +00:00
leo
e2818fc16a
Renamed platform defines to something more readable.
2015-11-14 00:18:05 +00:00
leo
f4400378d2
Fixed OSX compiler errors.
2015-11-13 17:50:36 +00:00
leo
41746f2b5b
Updated version number.
2015-10-24 18:45:07 +00:00
leo
9d0fc3840e
Updated minifig settings.
2015-10-22 14:59:42 +00:00
leo
520594fd12
Use QString for group names.
2015-10-21 15:03:45 +00:00
leo
e2be7ffc7c
New icons.
2015-10-03 18:57:59 +00:00
leo
d00a4aa013
Fixed gcc errors.
2015-09-27 18:25:35 +00:00
leo
1feafebb54
Keyboard shortcuts cleanup.
2015-09-27 07:02:57 +00:00
leo
98385748ac
Fixed string error saving shortcuts.
2015-09-25 16:37:28 +00:00
leo
5149ef3311
Fixed menu items not getting translated.
2015-09-25 06:03:30 +00:00
leo
55f87378cd
Mouse buttons 4 and 5 now work to navigate steps.
2015-09-06 19:52:17 +00:00
leo
df28f02b82
Fixed POV render command line.
2015-08-08 20:55:10 +00:00
leo
2e8f566829
Fixed timeline not deleting some items correctly.
2015-07-29 15:03:50 +00:00
leo
b53debf017
Changed the library cache to use loose files.
2015-07-22 04:00:47 +00:00
leo
4e0d23e3df
Update timeline when piece color or type changes.
2015-07-05 01:04:27 +00:00
leo
f5e9591be7
Fixed the timeline not updating correctly when using Show Earlier.
2015-07-04 21:53:59 +00:00
leo
e3b5d9395d
Fixed crash with placeholder parts.
2015-07-04 21:52:09 +00:00
leo
8ed2c7bf0f
Better grid texture.
2015-05-25 23:26:03 +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
307ed62ceb
Added mesh LOD.
2015-05-24 04:36:25 +00:00
leo
77424ccf16
Fixed wrong GLSL qualifier.
2015-05-17 16:23:14 +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
b4ba0ef6b2
Fixed compiler error.
2015-05-15 21:45:53 +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
9cf0f11445
Clear index buffer after destroying it.
2015-04-30 22:39:27 +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
a880056013
Add model meshes to the library vbo.
2015-04-26 18:41:16 +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
ba86509804
Removed more places where the vertex pointer was getting set directly.
2015-04-16 00:23:25 +00:00
leo
4ad0cfecf2
Added color icons to the timeline.
2015-04-15 18:49:17 +00:00
leo
81fc732158
Use a vertex buffer for the grid.
2015-04-14 04:14:10 +00:00
leo
0e0d352e6a
Fixed crash on startup if a toolbar was floating when the application closed the previous time.
2015-04-13 02:33:48 +00:00
leo
42151522fc
Added keyboard shortcuts to the Model List Dialog.
2015-04-12 06:44:38 +00:00
leo
85cb751f3e
Fixed spaces being added to model properties fields.
2015-04-11 17:26:17 +00:00
leo
c0167e2dd0
Fixed POV-Ray export file browser to accept new files.
2015-04-06 23:23:24 +00:00
leo
3081ed2df8
Center axis labels.
2015-04-06 00:36:27 +00:00