Commit graph

1034 commits

Author SHA1 Message Date
Dan Paulat
5bb5093579 Fixing placefile line hover offsets 2023-08-28 23:09:05 -05:00
Dan Paulat
8dfb9f1105 Placefile line hover in-work 2023-08-28 00:15:57 -05:00
Dan Paulat
37d751774d Move placefile text hover to mouse picking pass 2023-08-27 08:51:04 -05:00
Dan Paulat
38b56be7c4 Mouse picking boilerplate 2023-08-27 00:29:17 -05:00
Dan Paulat
c7487281ad Fixing minor data race and memory issues in Placefile Manager 2023-08-26 21:28:26 -05:00
Dan Paulat
80c307c5fc Enable placefile auto-refresh (no more frequent than every 15 seconds) 2023-08-23 21:39:17 -05:00
Dan Paulat
170e30ca6c Placefile GCC warning cleanup 2023-08-23 07:50:25 -05:00
Dan Paulat
e7da934db1 Need to wait for application initialization before reading placefiles, and emit placefile enabled when adding an enabled URL 2023-08-23 01:14:18 -05:00
Dan Paulat
6f14745a59 Save (works) and reload (doesn't work) placefiles from settings 2023-08-23 01:06:51 -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
232fafc9fa Interpolate icon coordinates for anti-aliasing
- Still needs a little work, but this looks MUCH better
2023-08-21 22:20:50 -05:00
Dan Paulat
f512df9dd6 Enable anti-aliasing (MSAA x4) 2023-08-21 22:19:42 -05:00
Dan Paulat
c6c64de169 Clean up placefile lines, draw second line underneath for a black border 2023-08-21 22:19:18 -05:00
Dan Paulat
ddf11884a8 Buffer new icons when placefile changes 2023-08-20 22:38:16 -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
e3c6850a1e Use LatLongToScreenCoordinate from maplibre utility in DrawItem 2023-08-19 22:53:18 -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
d6f8a339fc Mask API keys in settings dialog 2023-08-18 19:09:44 -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
69f93d6faf Add threshold geometry shader, refactor vertex and fragment shaders 2023-08-18 00:30:27 -05:00
Dan Paulat
5e1b1a5ba6 Map distance helper function 2023-08-16 00:15:08 -05:00
Dan Paulat
2113cb9ba8 Additional support for loading geometry shaders (and other shaders) 2023-08-16 00:13:09 -05:00
Dan Paulat
913151e063 Add support for loading geometry shaders (and other shaders) 2023-08-12 00:36:07 -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
d9a53ea8d7 Add placefile parsing for Triangles and Polygon 2023-08-07 23:52:29 -05:00
Dan Paulat
4fcfb54890 Textures may change between loads, don't skip reloading 2023-08-07 22:57:26 -05:00
Dan Paulat
1929ee9eef Add placefile parsing for Line 2023-08-06 23:52:26 -05:00
Dan Paulat
f0c2f8eec0 Correct text not following map rotation 2023-08-06 22:49:18 -05:00
Dan Paulat
6c0b62709f Rotate placefile icons 2023-08-05 01:28:34 -05:00
Dan Paulat
e66c202edf Fix x/y pixel offsets of placefile icons 2023-08-05 00:44:37 -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
66d261c680 Respect alpha channel value for warning boxes using line-opacity property 2023-08-03 23:22:18 -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
902a35de4b Fix transparency in color table layer and radar product layer 2023-08-03 22:41:32 -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
f9fc32e479 Ignore Linux stb_image warning 2023-08-03 06:35:38 -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
0be94c4de3 Buffer texture atlas on more than the first context after change
- Icons now work on all maps
2023-08-02 20:49:48 -05:00
Dan Paulat
4ff95094a3 Disable thresholding by default 2023-08-02 20:24:28 -05:00
Dan Paulat
a536d46bb4 Don't interpolate placefile icon pixels
This is a 90% solution to icon placement/blurring. The pixel coordinates
will need rounded in the vertex shader once the MVP and map matrices are
broken out for proper rotation.
2023-08-02 20:22:14 -05:00
Dan Paulat
b735589e9a Fix placefile icon orientation 2023-08-02 00:23:52 -05:00