Commit graph

185 commits

Author SHA1 Message Date
Dan Paulat
7198d1c7af Use GL_TEXTURE_2D_ARRAY to enable multiple texture atlases 2023-09-02 13:44:56 -05:00
Dan Paulat
00c297094e Placefile image rendering 2023-09-02 00:58:52 -05:00
Dan Paulat
44030fdf87 For placefile icons, only buffer texture data on texture atlas update 2023-09-01 23:35:30 -05:00
Dan Paulat
26a326b450 Render placefile triangles 2023-09-01 00:28:32 -05:00
Dan Paulat
8dfb9f1105 Placefile line hover in-work 2023-08-28 00:15:57 -05:00
Dan Paulat
38b56be7c4 Mouse picking boilerplate 2023-08-27 00:29:17 -05:00
Dan Paulat
ad5c2b583d Placefile "Remove" functionality 2023-08-22 23:52:55 -05:00
Dan Paulat
9955c4ccbe Clean up placefile shared pointer usage with const references 2023-08-22 21:52:11 -05:00
Dan Paulat
f512df9dd6 Enable anti-aliasing (MSAA x4) 2023-08-21 22:19:42 -05:00
Dan Paulat
c85e4cef58 Basic placefile lines rendering
Desired to make the line styling look more like warning boxes
2023-08-20 22:37:46 -05:00
Dan Paulat
565734217b Update placefile icon texture coordinates when the texture atlas changes 2023-08-19 22:52:38 -05:00
Dan Paulat
e021484bfb Update placefile icon data outside of render loop, polygon and text cleanup 2023-08-19 22:19:32 -05:00
Dan Paulat
b159540215 Update placefile text data outside of render loop, polygon cleanup 2023-08-19 21:43:57 -05:00
Dan Paulat
8f2b87790a Update placefile polygon data outside of render loop 2023-08-19 18:30:49 -05:00
Dan Paulat
a4027ba120 Refactor placefile text into its own draw item 2023-08-19 10:05:26 -05:00
Dan Paulat
35b90fa98d Replace boost/units in favor of units library 2023-08-18 19:03:46 -05:00
Dan Paulat
12833202b7 Use geometry shaders for icon and polygon thresholds, fix threshold method to map distance for placefile text 2023-08-18 00:42:55 -05:00
Dan Paulat
0c5a504ad5 Placefile polygon Linux fixes 2023-08-11 08:36:08 -05:00
Dan Paulat
cdef5a9938 Placefile polygon rendering 2023-08-11 00:45:42 -05:00
Dan Paulat
f0c2f8eec0 Correct text not following map rotation 2023-08-06 22:49:18 -05:00
Dan Paulat
eaf5089526 Ensure placefile text IDs are unique, ensuring correct text placement 2023-08-03 23:39:10 -05:00
Dan Paulat
6e42001281 Set OpenGL blend mode for placefile transparency 2023-08-03 23:38:27 -05:00
Dan Paulat
ec946b71f4 Respect alpha channel value for warning boxes using line-opacity property 2023-08-03 23:20:23 -05:00
Dan Paulat
6607eb0e56 Fix transparency in color table layer and radar product layer 2023-08-03 22:40:20 -05:00
Dan Paulat
95f4d03c7b Fix map layer update on placefile rename 2023-08-02 23:25:38 -05:00
Dan Paulat
117a473689 Separate placefiles into their own layers
- Placefile rename is partially
- Texture repack might be broken
2023-08-02 22:39:19 -05:00
Dan Paulat
bc1bf8cef6 Fix rendering of placefile icons, now works on one map 2023-08-02 00:02:33 -05:00
Dan Paulat
f074e487de First attempt at rendering placefile icons, does not work yet 2023-08-01 00:30:40 -05:00
Dan Paulat
c6801722a1 Always resize ImGui windows when rendering placefile text to avoid clipping 2023-07-25 23:21:34 -05:00
Dan Paulat
6dedce5089 Update placefile view when placefiles are edited from settings 2023-07-25 23:16:36 -05:00
Dan Paulat
0064733679 Placefile fixes for Linux/gcc 2023-07-23 08:45:21 -05:00
Dan Paulat
8be32a8998 Render hover text in monospace
- TODO: Configure separate font size for monospace
2023-07-21 22:34:19 -05:00
Dan Paulat
48d71cc14d Placefile text statement support
- Merged place and text
- Todo: Custom fonts not yet supported
- Todo: End statements sometimes appear after "Text" or other items
- Todo: Support "Title" statement
2023-07-21 00:26:42 -05:00
Dan Paulat
9f5de14f6b Render placefile Place statement 2023-07-20 23:40:32 -05:00
Dan Paulat
1c39464228 Extract utility geographic and maplibre functions 2023-07-20 23:12:36 -05:00
Dan Paulat
1a411af3bc Add placefile layer with text rendering 2023-07-19 23:27:37 -05:00
Dan Paulat
5612806e07 Update layer ordering definitions for MapTiler updates 2023-07-14 00:23:21 -05:00
Dan Paulat
d694764fa1 Map layer name comparison should be case insensitive 2023-07-14 00:22:32 -05:00
Dan Paulat
0902f183fc Connect radar product view signals in layer constructor, rather than initialize
If the radar product view updates at precisely the right time, color
tables might not be initialized properly. The Initialize function would
not have been able to properly update color tables, and the view signal
would be emitted prior to the signals and slots being connected.
2023-07-11 23:25:39 -05:00
Dan Paulat
fc194e0f17 Don't display a requested product if a different product has since been selected 2023-06-23 22:16:12 -05:00
Dan Paulat
a268ca04e6 Asynchronous threads should execute in thread pools owned by parents
- Fixes #51
2023-06-21 23:34:49 -05:00
Dan Paulat
6000abdeb3 Save map style in settings
- Fixes #50
2023-06-21 23:34:49 -05:00
Dan Paulat
16e3d1533f Don't update a radar product view when the timeline manager will issue a subsequent update 2023-06-19 22:58:08 -05:00
Dan Paulat
bce4c1bfb2 Fix switching radar sites in archive view
- Reverts 4e5a28f, other changes have now made this unnecessary
- Switching sites while animating, in archive, or live all work properly
2023-06-19 21:49:50 -05:00
Dan Paulat
7d74a0e312 Add additional MapTiler styles, including dark styles 2023-06-17 22:45:38 -05:00
Dan Paulat
4e5a28fcab Auto update should be re-enabled when switching radar sites
- Otherwise, the new site may not display any data
2023-06-10 23:47:42 -05:00
Dan Paulat
27958415c5 Synchronize radar sweep updates to timeline manager 2023-06-08 23:07:52 -05:00
Dan Paulat
6b179fe35c Emit signals when a sweep is not updated (with reason) 2023-06-07 23:07:01 -05:00
Dan Paulat
ea6134acea emit keyword is incompatible with oneTBB 2023-06-05 21:53:24 -05:00
Dan Paulat
1b49e317e4 Fix level 2 display 2023-05-30 23:28:02 -05:00