Alistair Buxton
2de2e2c187
Highlight parts added in the current step.
2017-06-20 07:47:31 -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
f7d61f33ce
Updated code to use nullptr and override.
2017-04-13 17:26:40 -07:00
leozide
35050efe3a
Compiler feature test.
2017-04-13 17:07:29 -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
49a88e1ab4
Fixed synth parts adding the wrong mesh to the scene when in a submodel. Fixes #42 .
2017-03-26 18:28:31 -07:00
Leonardo Zide
155fa7cdc2
Removed redundant glBlendFunc calls.
2017-03-25 00:03:17 -07:00
Leonardo Zide
c85f0f7eea
Disable normals for unlit passes.
2017-03-24 09:34:53 -07:00
Leonardo Zide
f99a093c7a
Draw edge lines unlit.
2017-03-22 23:35:02 -07:00
Leonardo Zide
50b9ab1984
Faster mesh sorting.
2017-03-19 22:59:55 -07:00
Leonardo Zide
acd5a485f0
Added a decal material to fix the texmap extension.
2017-03-12 13:51:14 -07: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
8c318cbdf1
Multithreaded piece loading.
2017-01-22 19:28:05 -08:00
Leonardo Zide
dcfccd8eeb
Rewrote how loose model files are loaded.
2016-11-25 17:12:19 -08:00
leo
f24b0923bb
Crash fix.
2016-05-08 20:19:23 +00:00
leo
d5ccd6289f
Include cleanup.
2016-05-02 19:13:54 +00:00
leo
a0db9ce210
Added synth support for shock absorbers.
2016-05-01 00:20:37 +00:00
leo
1902dff957
Made control points translucent.
2016-03-12 00:38:02 +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
510d190483
Support dynamic piece meshes.
2016-02-19 17:53:54 +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
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
0ec6269972
Don't release and reload meshes when using undo.
2015-11-16 02:41:16 +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
77e103264d
Set colors through the context.
2015-05-04 00:51:41 +00:00
leo
d59dfe9444
Rewrote camera and light drawing.
2015-04-19 01:10:01 +00:00
leo
35fe45ada8
Preserve file comments when saving.
2015-03-21 20:12:04 +00:00
leo
786bf4283b
Rewrote how model names work.
2015-02-22 02:39:15 +00:00
leo
817ffce7ef
Avoid using floating point notation in the properties pane.
2015-01-19 23:48:46 +00:00
leo
af37e7008d
Removed support for naming pieces in a model.
2015-01-15 02:21:10 +00:00
leo
77683ccfa8
Removed group separator being added to numbers when saving files.
2015-01-12 16:01:01 +00:00
leo
12d0094806
Store piece transformations as matrices to allow scaling.
2015-01-10 20:30:37 +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
493ad442b2
Finished separating model from project.
2014-12-08 07:32:39 +00:00
leo
d4ab2e9f90
More cleanup.
2014-11-29 02:55:58 +00:00
leo
a63743c73f
Reorganized drawing functions.
2014-11-23 23:48:56 +00:00
leo
6b5db8aff9
Updated save file format.
2014-09-08 19:42:20 +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
leo
c4bc70fd35
Use text stream for parsing.
2014-09-03 14:34:53 +00:00
leo
661fa68011
Changed the LDraw exporter to include more features in extensions.
2014-09-02 03:44:51 +00:00
leo
4c0c815682
Moved keys to separate arrays.
2014-08-31 00:53:12 +00:00
leo
07e6fce3ce
Use LDraw units internally.
2014-08-30 19:48:36 +00:00
leo
9a37302456
Added JSON export.
2014-08-29 23:52:42 +00:00
leo
b9d2229132
Removed old object class names.
2014-08-07 15:22:33 +00:00
leo
109ec00f5f
Support more than 255 steps.
2014-07-06 06:04:09 +00:00
leo
98541ed1f2
Improved moving rotated parts.
2014-06-22 17:39:15 +00:00
leo
d4c3cf8ebe
Group cleanup.
2014-05-25 18:23:09 +00:00
leo
e20907fbdd
Added model class.
2014-05-25 01:45:19 +00:00
leo
6387ca917f
Fixed buffer overflow with parts with very long descriptions.
2014-05-03 21:22:21 +00:00
leo
49729dc52a
Renamed object classes.
2014-05-01 18:42:11 +00:00
leo
d2d96489ac
Fixed inconsistent behavior where sometimes parts that are not visible would remain selected and be modified.
2014-05-01 14:55:12 +00:00
leo
c5f006cd2c
Moved pieces from a linked list to an array.
2014-04-10 04:46:48 +00:00
leo
0cf0f497e9
Removed calls to GL matrix stack.
2014-02-16 07:23:55 +00:00
leo
3b08ba7a0b
Removed display lists.
2014-01-31 00:29:09 +00:00
leo
213c53813c
Removed animation code.
2014-01-30 03:13:34 +00:00
leo
f11c97777a
Merged qtest branch into trunk.
2013-08-09 04:57:18 +00:00
leo
ee6dae8249
Fixed compiler warnings.
2013-01-06 19:24:25 +00:00
leo
b0ac0089ab
Removed old matrix class.
2012-10-18 18:57:21 +00:00
leo
9c53860e4a
Added texture mapping support.
2012-10-11 23:55:55 +00:00
leo
4da5f06d9a
Camera cleanup.
2012-08-23 18:47:37 +00:00
leo
9be1948d4d
Bounding box cleanup.
2012-08-16 23:50:40 +00:00
leo
000302a71b
Fixed bug calculating bounding box.
2012-07-20 22:57:43 +00:00
leo
2e73fdfe71
Linux fixes.
2012-07-06 01:18:55 +00:00
leo
1d72f82c9b
Hardcoded number of planes in frustum intersection code to 6.
2012-07-03 22:56:05 +00:00
leo
a42fe600ca
Removed some old vector code.
2012-06-16 00:17:52 +00:00
leo
bbf1469cb5
Store the current transformation matrix for each piece.
2012-05-17 21:52:20 +00:00
leo
7390c65790
Updated code to new colors.
2012-04-21 01:30:02 +00:00
leo
8dda20d4ee
Removed old color code.
2012-04-20 23:27:12 +00:00
leo
aa401846b6
Added new mesh class.
2012-04-13 23:41:58 +00:00
leo
e3c5d73abe
Removed dynamic OpenGL code from Windows and updated extensions.
2012-04-13 02:00:45 +00:00
leo
c8cb684299
Keep LDraw color codes.
2012-03-28 01:07:18 +00:00
leo
296300a9e1
Updated color functions for selected and focused objects.
2012-03-25 00:47:53 +00:00
leo
7a5bdf36a9
Rewrote file classes.
2012-03-22 23:44:56 +00:00
leo
778c92f80b
Added support for precompiled headers to common files.
2012-03-20 00:57:42 +00:00
nobody
45797c9d45
Integrated Import Folder command from branch.
2012-01-24 02:38:04 +00:00
leo
6bad25fccb
Deleted unused files.
2011-09-13 06:34:13 +00:00
leo
1f9a1761c0
Copied 0.75 branch as the new trunk.
2011-09-07 21:06:51 +00:00