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
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
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
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
8e8567a48f
Updating MapLibre Native to the latest version (2023-04-28)
2023-04-29 01:44:23 -05:00
Dan Paulat
023688b746
General GCC compilation fixes
2023-04-17 18:37:23 -05:00
Dan Paulat
509fc76653
Guard pragma warning statements with ifdef msvc
2023-04-16 01:02:56 -05:00
Dan Paulat
90c8c0183a
USe a common default geodesic object instead of duplicate copies.
...
All used functions are constant, and don't require unique instantiations for thread safety.
2023-02-19 15:16:34 -06:00
Dan Paulat
2ac141ea1a
Update to latest maplibre-gl-native, including rename from QMapboxGL to QMapLibreGL
2022-10-20 22:54:53 -05:00
Dan Paulat
aadf948656
Fixing geo line angle
2022-10-17 22:24:41 -05:00
Dan Paulat
0fa6ef01f0
Move texture binding to layer, and reference atlas coordinates in draw item
2022-10-06 00:35:22 -05:00
Dan Paulat
4b1d63ea62
Adding default texture to line, fixing texture coordinates
2022-10-04 23:16:57 -05:00
Dan Paulat
5ae098daff
Geo line requires two projection matrices
2022-10-03 01:03:27 -05:00
Dan Paulat
4aad9fd3d4
Use map projection with geo line
2022-10-03 00:40:59 -05:00
Dan Paulat
ca9331cf7c
Add shader programs to Geo Line class
2022-10-03 00:21:31 -05:00
Dan Paulat
224d36bae5
Define draw item shaders in draw items, not the generic draw layer
2022-10-03 00:13:01 -05:00
Dan Paulat
7a07e0f698
Untested geo line implementation without texture
2022-09-24 16:12:30 -05:00
Dan Paulat
15bc3afc87
Boost.Log -> spdlog - config, gl, manager
2022-04-18 08:39:24 -05:00
Dan Paulat
689f3dc464
Change text background to draw item
2021-12-18 22:45:29 -06:00
Dan Paulat
d30b6d4011
Implement active box using new draw item on draw layers
2021-12-18 21:43:15 -06:00