Leonardo Zide
ec2a9bce87
Fixed serializing area light grid.
2023-12-23 12:50:54 -08:00
Leonardo Zide
0da3def563
Merge pull request #874 from trevorsandy/BLENDER_AND_POVRAY_LIGHTS
...
Blender and POVRay Lights
2023-12-23 11:36:38 -08:00
Leonardo Zide
30ffbd5e05
Fixed part highlight drawing in parts list. Fixes #876 .
2023-12-21 14:08:27 -08:00
Leonardo Zide
6774b17051
Merged POV-Ray and Blender light power.
2023-12-20 16:42:00 -08:00
Leonardo Zide
321b9389ed
Removed unused light options.
...
Specular is EEVEE only and Diffuse/Cutoff are unknown.
2023-12-17 12:16:32 -08:00
Leonardo Zide
d52159087c
Added light attenuation settings.
2023-12-17 11:37:11 -08:00
Leonardo Zide
0e74aea5fa
Fixed POV-Ray area light grid.
2023-11-19 18:05:43 -08:00
Leonardo Zide
0a48e30ec0
Changed POV area lights to take the x/y vectors correctly.
2023-10-22 18:48:08 -07:00
Leonardo Zide
c2199eb6b0
Added serialization helper functions.
2023-10-01 16:24:42 -07:00
Trevor SANDY
ff313d4675
Blender LDraw Render - revert smooth_type default to edge_split
2023-10-01 22:50:31 +02:00
Leonardo Zide
5430dd6170
Added light power attribute.
2023-10-01 13:16:26 -07:00
Leonardo Zide
a27694a594
Support dragging light targets to rotate.
2023-09-23 18:38:03 -07:00
Leonardo Zide
177c1b82d7
Support Blender light sizes for all types of lights.
2023-09-17 11:45:14 -07:00
Leonardo Zide
59c1930b83
Added support for area size key frames.
2023-09-17 10:40:23 -07:00
Leonardo Zide
e061eca2e8
Reorganized spot light parameters.
2023-09-09 18:25:34 -07:00
Trevor SANDY
846ddaab0d
Blender addon - remove gap scale strategy and gap target options
2023-09-05 20:07:07 +02:00
Leonardo Zide
6a1df617e8
Use a matrix to store the light transform.
2023-09-04 20:53:34 -07:00
Leonardo Zide
86327196c2
Support rotating lights.
2023-09-04 10:59:16 -07:00
Leonardo Zide
080a418e1b
Renamed shadowless to cast shadow.
2023-09-02 10:40:52 -07:00
Leonardo Zide
7d289f2cfe
Made light type editable.
2023-09-01 20:46:29 -07:00
Leonardo Zide
9d60160f6a
Consolidated light color properties.
2023-08-27 11:17:07 -07:00
Leonardo Zide
4e09ceaf7d
Fixed light selection checks.
2023-08-27 10:19:07 -07:00
Leonardo Zide
5f3eb69ae7
Added up vector to area lights.
2023-08-26 19:43:08 -07:00
Leonardo Zide
3942156acf
New light gizmos.
2023-08-26 12:41:16 -07:00
Trevor SANDY
2f5594b5f6
Blender addon - change smooth_type default to bmesh_split
2023-08-20 01:07:00 +02:00
Trevor SANDY
410bdb2bb6
Blender addon - fix chosen logo options
2023-08-19 18:35:15 +02:00
Trevor SANDY
136a3f9c9f
Blender addon - set import lights default to true
2023-08-19 16:30:01 +02:00
Trevor SANDY
8bfbe7dcd8
Save POVRay area light target for subsequent import
2023-08-19 11:51:22 +02:00
Trevor SANDY
8cfadc804d
Made light type/shape immutable.
2023-08-13 15:50:00 +02:00
Trevor SANDY
6b5bfbf99f
POVRay lights - export POV file
2023-08-11 05:39:36 +02:00
Trevor SANDY
d29c5b9323
POVRay lights - POV file preferences
2023-08-11 05:39:36 +02:00
Trevor SANDY
201d7e870c
POVRay lights - lcLight
2023-08-11 05:39:36 +02:00
Trevor SANDY
415354bfe8
Blender lights - merge spot light and directional lights
2023-08-11 05:39:36 +02:00
Trevor SANDY
00a3ad7147
Blender lights - actions
2023-08-11 05:39:36 +02:00
Trevor SANDY
3b9ea3ae79
Blender lights - view and control
2023-08-11 05:39:36 +02:00
Trevor SANDY
07a268ed32
Blender lights - lcLight
2023-08-11 05:39:36 +02:00
Trevor SANDY
74eb112992
Blender addon - update settings to addon 1.5
2023-08-11 05:39:36 +02:00
Trevor SANDY
c7aecad353
Blender addon - only save settings that exist in config file
2023-08-01 21:35:19 +02:00
Trevor SANDY
65ab0cd7aa
Blender addon - option to show or hide new addon version message
2023-08-01 21:35:11 +02:00
Trevor SANDY
4dba764a86
Blender addon - set display stud logo default to true
2023-07-07 13:57:00 +02:00
Trevor SANDY
c42f4fe778
Blender addon - changes to match conventions
2023-07-07 04:10:37 +02:00
Leonardo Zide
7271679f9d
Small changes to match conventions.
2023-06-18 19:06:44 -07:00
Leonardo Zide
eade4bcb5f
Removed default parameters.
2023-06-18 18:37:59 -07:00
Leonardo Zide
7eb6142b3c
Fixed typo.
2023-06-18 18:12:12 -07:00
Leonardo Zide
7ded3a4899
Warning fixes.
2023-06-18 18:04:08 -07:00
Trevor SANDY
e98e375984
Blender addon - render command
2023-06-11 17:43:25 +02:00
Trevor SANDY
4d2ecee58d
Blender addon - render current step
2023-06-11 17:43:25 +02:00
Trevor SANDY
9fe6dc3658
Blender addon - render lc_profile
2023-06-11 17:43:25 +02:00
Trevor SANDY
6e721d76c4
Blender addon - settings lc_zipfile
2023-06-11 17:42:34 +02:00
Trevor SANDY
c71a4be5f0
Blender addon - settings lc_http
2023-06-11 17:42:28 +02:00
Trevor SANDY
aeb06f1380
Blender addon - settings dialog
2023-06-11 17:42:22 +02:00
Trevor SANDY
2c7b386347
Blender addon - settings lc_profile
2023-05-23 12:30:52 +02:00
Leonardo Zide
2f034c1763
Updated file names.
2023-05-15 21:12:08 -07:00
Leonardo Zide
f28b86e5b3
Moved files.
2023-05-15 21:04:48 -07:00
Leonardo Zide
bda1acf7a5
Updated to coding standards.
2023-05-15 21:02:17 -07:00
Leonardo Zide
88b500368e
Missing file.
2023-04-29 20:32:27 -07:00
Leonardo Zide
fb961d2cab
Moved model list dialog.
2023-04-29 20:10:50 -07:00
Leonardo Zide
2c2cb46ddb
Moved group dialog files.
2023-04-29 20:04:58 -07:00
Leonardo Zide
4e474fb13d
Moved about dialog files.
2023-04-29 19:55:54 -07:00
Leonardo Zide
4ca78ec8ec
Moved color list widget files.
2023-04-29 19:48:30 -07:00
Leonardo Zide
b72248c6a7
Merge pull request #852 from trevorsandy/FILTER_CATEGORIES
...
Filter categories
2023-04-23 20:33:33 -07:00
Trevor SANDY
c537c2e714
Refactor command line edge color and high contrast options
2023-04-19 14:30:05 +02:00
Trevor SANDY
7908800e14
Add match case button
2023-04-19 13:07:46 +02:00
Trevor SANDY
3db496d1ef
Filter categories
2023-04-18 02:08:01 +02:00
Trevor SANDY
b6bf4db5a0
Set high-contrast color preferences optional
2023-04-18 02:06:08 +02:00
Leonardo Zide
abed142b49
Updated version.
2023-03-19 16:04:45 -07:00
Leonardo Zide
60640c767b
Fixed crash with move to step after on the last step. Fixes #844 .
2023-03-18 16:10:58 -07:00
Leonardo Zide
a18f55913b
Added new timeline option to move selection to a new step.
2023-01-08 17:22:54 -08:00
Leonardo Zide
337e5723b8
Remove commas from descriptions in csv files.
2022-11-06 17:45:33 -08:00
Leonardo Zide
181985dc34
Fixed missing steps at the end of instructions. Fixes #833 .
2022-10-30 14:25:41 -07:00
Leonardo Zide
3abe683d2b
Added --export-csv command line option.
2022-10-30 14:12:34 -07:00
Leonardo Zide
b2ffa02b75
Fixed POV render issues with synth parts. Fixes #820 .
2022-07-16 10:32:28 -07:00
Trevor SANDY
2abaa5d297
Remove current project call from Preview::SetCurrentPiece
2022-07-06 17:45:55 +02:00
Trevor SANDY
90d4feffe9
Unofficial project part
2022-07-06 16:25:37 +02:00
Leonardo Zide
23a93b4afb
Added Qt version check.
2022-06-05 11:22:44 -07:00
Alfonso Ruzafa
ebc89c2774
localize untranslated strings
2022-05-16 21:36:52 +02:00
Leonardo Zide
d2f22773e3
Added support for trackpad pan gesture.
2022-05-07 18:46:26 -07:00
Leonardo Zide
cdc730b5f7
Fixed pixel offset when drawing the background. Fixes #792 .
2022-04-19 18:14:44 -03:00
Leonardo Zide
275423b512
Fixed gradient background tiles.
2022-04-19 18:06:11 -03:00
Leonardo Zide
d4a081d4b8
Fixed submodels not being added to instructions.
2022-03-13 16:46:14 -07:00
Leonardo Zide
b2d0d9d94b
Added option to print from the instructions dialog.
2022-02-13 16:00:08 -08:00
Leonardo Zide
f24317e997
gcc fix.
2022-01-09 12:54:45 -08:00
Leonardo Zide
6ca5c160f1
Place new pieces relative to the side of the piece under the mouse.
2021-12-24 15:42:37 -08:00
Leonardo Zide
2d315d2ba2
Scan submodels when dragging a new piece into the model.
2021-12-23 17:27:38 -08:00
Leonardo Zide
4c97a4d514
Weight vertex normals based on the angle of each face. Fixes #683 .
2021-12-23 12:15:33 -08:00
Leonardo Zide
c10804d31b
Simplified manipulator rotation math.
2021-12-11 15:52:38 -08:00
Leonardo Zide
a5207573bf
Customizable object colors.
2021-11-24 15:20:08 -08:00
Leonardo Zide
94a5a5dc52
Moved blend to context.
2021-11-22 16:18:09 -08:00
Leonardo Zide
89c0b58592
Moved depth test to context.
2021-11-22 16:01:45 -08:00
Leonardo Zide
408dc6ff97
Moved texture upload to context.
2021-11-21 18:25:17 -08:00
Leonardo Zide
a9ab7c0c64
Removed GL calls in texfont.
2021-11-21 12:16:19 -08:00
Leonardo Zide
36dbcec238
Fixed macOS OpenGL deprecation warnings.
2021-11-20 19:56:52 -08:00
Leonardo Zide
30a911dad2
Update lc_colors.h
2021-11-17 19:06:18 -08:00
Leonardo Zide
2a24933fa8
Scoped enums.
2021-11-14 19:10:16 -08:00
Leonardo Zide
7d884e6b5f
Static analysis fixes.
2021-11-14 18:34:24 -08:00
Leonardo Zide
5d558b38bb
Warning fix.
2021-11-13 17:52:29 -08:00
Leonardo Zide
7c3968d785
Merge pull request #746 from j6t/unlimited-synth-ctrl-points
...
Almost unlimited control points in synthesized pieces
2021-11-06 10:44:18 -07:00
Johannes Sixt
31855d508f
Permit an enormous number of control points.
2021-10-31 16:09:03 +01:00
Johannes Sixt
ba2cc70de8
Implement a piece's focused section as a simple index, not a bit mask.
...
It does not make sense to have a "focus" on more than one thing. Keep the
most recently focused section of a piece as a single index rather than a
bit mask. This removes a lot of implementation burden.
2021-10-31 15:51:58 +01:00
Johannes Sixt
b301b59f8f
Implement GetSectionPosition() with computed, not enumerated indices.
...
This aligns the function with others, such as GetRotationCenter().
2021-10-31 15:50:57 +01:00
Johannes Sixt
d7ed7aaef4
Hold selection state in a separate variable, and treat all sections equal.
...
Notice that the selection state of individual piece sections are stored,
but never queried: the result of neither version of IsSelected() depends
on the section whose state is selected. Do not hold the state of
individual sections.
There is a theoretical change in behavior: Before, when a particular
section was unselected with SetSelected(Section, false), the focus state
of only the requested section was removed; now we remove the complete
focus. This change has no practical relevance, because there is no
user interface that can unselect individual piece sections.
2021-10-31 15:50:57 +01:00
Johannes Sixt
f81f949dc6
Hold states "hidden" and "pivot point valid" in separate variables.
...
In this way, the accesses are more natural than bit manipulations.
2021-10-31 15:50:57 +01:00
Leonardo Zide
c47eb30d90
Fixed menus in fullscreen mode on Windows. Fixes #739 .
...
https://doc.qt.io/qt-5/windows-issues.html#fullscreen-opengl-based-windows
2021-10-17 17:16:10 -07:00
Leonardo Zide
4b9ecf4227
Slow down mouse wheel zoom when the shift key is down.
2021-10-02 17:40:21 -07:00
Leonardo Zide
d56e389ee4
Qt 5.4 fixes.
2021-07-05 17:07:24 -07:00
Leonardo Zide
e0b77b17bd
Qt6 fixes.
2021-07-05 17:00:41 -07:00
Leonardo Zide
5decefcb73
Crash fix.
2021-06-27 12:44:05 -07:00
Leonardo Zide
5e3ca0e781
Fixed loading textures from cached pieces.
2021-06-27 12:42:53 -07:00
Leonardo Zide
a9971b0b1a
Fixed rendering issues with missing textures.
2021-06-27 12:13:54 -07:00
Leonardo Zide
bad9bd5069
Fixed wrong texture mesh indices. Fixes #727 .
2021-06-26 14:01:02 -07:00
Leonardo Zide
8dcc1bb970
Warning fix. Fixes #725 .
2021-06-26 13:27:17 -07:00
Leonardo Zide
c236ea02bb
Moved view manipulator to a separate class.
2021-06-20 11:40:16 -07:00
Leonardo Zide
bd12ad5842
Small cleanup.
2021-06-13 16:24:12 -07:00
Leonardo Zide
0fa195b334
Array cleanup.
2021-06-13 15:41:57 -07:00
Leonardo Zide
7162639295
Calculate texcoords at the end of the file load. Fixes #641 .
2021-06-13 15:35:40 -07:00
Leonardo Zide
bf7a382dcc
Store texture projection as part of the section while loading meshes.
2021-06-12 19:29:13 -07:00
Leonardo Zide
d84d8f1f3c
Fixed lcArray::Add() not default initializing.
2021-06-12 19:23:12 -07:00
Leonardo Zide
ee5c551bc8
Refactored duplicate code.
2021-06-06 10:51:34 -07:00
Leonardo Zide
613bc91c4d
Moved texture stack from function parameter to member variable.
2021-06-05 17:44:20 -07:00
Leonardo Zide
aa0106eedb
Updated version.
2021-06-05 16:41:42 -07:00
Leonardo Zide
1e3f256cf2
Fix for Qt 5.4. Fixes #721 .
2021-06-05 11:20:46 -07:00
Leonardo Zide
685cf78515
Added option to choose the axis icon location. Closes #638 .
2021-05-30 11:52:13 -07:00
Leonardo Zide
f69ecf7fc0
Keep BFC disabled. Fixes #717 .
2021-05-16 15:53:59 -07:00
Leonardo Zide
f1f2a8bd26
Reset view when creating a new submodel. Fixes #703 .
2021-05-01 16:24:55 -07:00
Leonardo Zide
ccd9904c4c
Fixed drawing the rotate overlay during in place submodel edits.
2021-04-25 12:02:57 -07:00
Leonardo Zide
371c248f10
Fixed moving pieces while editing submodels in place.
2021-04-25 11:36:35 -07:00
Leonardo Zide
249fa262f7
Disabled relative movement when moving pieces without using the arrows.
2021-04-24 10:15:13 -07:00
Leonardo Zide
cd588f64aa
Don't enable relative transforms by default.
2021-04-24 10:03:33 -07:00
Leonardo Zide
a53fd42710
Removed triple error message boxes from preview.
2021-04-17 11:49:41 -07:00
Leonardo Zide
1a64a7876d
Highlight missing parts in the timeline. Fixes #438 .
2021-04-17 10:50:38 -07:00
Leonardo Zide
48c6fad09e
Flush vertex attribs when the buffer object changes. Fixes #697 .
2021-04-17 10:38:23 -07:00
Leonardo Zide
a93a119ee2
Small mesh loader cleanup.
2021-04-10 16:18:15 -07:00
Leonardo Zide
278e953b81
Rewrote vertex attribute cache.
2021-04-10 15:22:41 -07:00
Leonardo Zide
b6acab713d
Removed redundant state changes.
2021-03-28 13:30:35 -07:00
Leonardo Zide
989373155f
Draw timer on screen.
2021-03-28 11:50:28 -07:00
Leonardo Zide
c613ff6bb4
Added simple draw timer.
2021-03-27 19:19:29 -07:00
Leonardo Zide
0be663f73c
Reset BFC state after enabling it.
2021-03-27 17:52:21 -07:00
Leonardo Zide
db4917ee42
Corrected base grid winding.
2021-03-27 17:32:49 -07:00
Leonardo Zide
73495e82da
Load official textures before unofficial.
2021-03-27 14:45:55 -07:00
Leonardo Zide
5825371b7e
Fixed buffer overflow loading certain parts. Fixes #659 .
2021-03-27 12:48:36 -07:00
Leonardo Zide
6042cb8188
Fixed loading primitives from ldrawunf.zip.
2021-03-27 12:15:38 -07:00
Leonardo Zide
594422315a
Draw texture triangle normals.
2021-03-25 20:46:37 -07:00
Leonardo Zide
cd9532f0cf
Merge pull request #674 from j6t/pneumatic-tubes
...
Synthesize Technic Pneumatic Tubes
2021-03-25 19:57:14 -07:00
Leonardo Zide
8039f5b180
Draw conditional lines on a separate pass.
2021-03-21 17:53:13 -07:00
Leonardo Zide
2a019412e1
Use text color for the flexible icon.
2021-03-21 13:43:07 -07:00
Leonardo Zide
e9040c8332
Added preview indicator for synth parts.
2021-03-21 13:29:04 -07:00
Leonardo Zide
3b270d7107
Merge pull request #640 from hfiguiere/unhide_menu
...
Add Unhide selected menu item
2021-03-21 11:02:52 -07:00
Johannes Sixt
a0cadfcfa5
Synthesize Technic Pneumatic Tubes with End Bulges.
2021-03-21 10:18:49 +01:00
Johannes Sixt
6bbecad7e2
Synthesize Technic Pneumatic Tubes.
2021-03-21 10:18:43 +01:00
Johannes Sixt
94f7a9800a
Factor out a function that constructs a tube mesh.
...
Later, we want to make tubes with different radii.
While we are here, correct the winding of the triangles that make the
inner tube.
2021-03-21 10:13:00 +01:00