Commit graph

550 commits

Author SHA1 Message Date
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
4fcfb54890 Textures may change between loads, don't skip reloading 2023-08-07 22:57: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
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
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
Dan Paulat
f0bdeb09b1 Replace black with transparent, increase atlas size 2023-08-02 00:04:00 -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
4c093d65f6 Populate cached images into the texture atlas 2023-07-30 22:31:05 -05:00
Dan Paulat
0f9fbdbf63 Load placefile icons into texture atlas cache 2023-07-30 00:40:05 -05:00
Dan Paulat
e3449e382d Don't use a hard-coded user-agent for placefiles, add DPI parameter 2023-07-28 22:33:39 -05:00
Dan Paulat
751cafbfe7 Load placefiles according to the current radar site 2023-07-26 23:52:59 -05:00
Dan Paulat
6f44d9f4e0 Handle query string in supplied placefile URL, and improve error messages 2023-07-26 23:07:19 -05:00
Dan Paulat
dcace24579 Load placefiles from remote URLs 2023-07-26 00:18:10 -05:00
Dan Paulat
61bfeb88d0 Normalize edited URL 2023-07-25 23:26:52 -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
7c21ccaf41 Make placefile settings view editable 2023-07-25 23:15:12 -05:00
Dan Paulat
3ff34caa02 Placefile view enhancements
- Size enabled/threshold columns for a checkbox
- Combine URL/description columns
- Tooltips
- Alternating row colors
2023-07-24 22:27:42 -05:00
Dan Paulat
18c05b3a63 Additional placefile view/add enhancements 2023-07-23 23:24:45 -05:00
Dan Paulat
0064733679 Placefile fixes for Linux/gcc 2023-07-23 08:45:21 -05:00
Dan Paulat
36dd2945b0 Placefile URL readability updates 2023-07-23 00:36:08 -05:00
Dan Paulat
014ea9d39e Display placefiles in settings view 2023-07-23 00:14:48 -05:00
Dan Paulat
157500e20a Add open URL dialog to add a placefile 2023-07-22 21:17:09 -05:00
Dan Paulat
4c685e5abb Add placefile settings initial layout 2023-07-22 14:15:56 -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
bfe62301b2 Enable loading of placefiles via the UI 2023-07-18 23:32:05 -05:00
Dan Paulat
f70de26a2d Initial placefile manager implementation 2023-07-18 23:16:50 -05:00
Dan Paulat
7c863793ea Bump version to v0.2.2 2023-07-14 19:25:50 -05:00