Re: Constructing Skybuck's UFO Alert Tool
Skybuck Flying <[email protected]> Tue, 9 Aug 2022 18:38:53 -0700 (PDT)
| Newsgroups | alt.comp.lang.borland-delphi |
|---|---|
| Message-ID | <[email protected]> |
************************************************* Day 6, 9 august 2022, Provinces and Hexagon World ************************************************* Video log of my activities of Day 6: https://youtu.be/dEiZ3wIyaLw 1. Provinces was tried/implemented, however there is a backface culling issues with the input data (version 4). I have found the original source which might have a better version, version 5, issues also reported on multiple sites, however the original source uses a different format, no JSON is available, but dbf is available dbase database file format which can be handled by Delphi. Original source of data seems to be: https://github.com/nvkelso/natural-earth-vector 2. Hexagon world implemented by using the UBER H3 library. It isn't completely perfect yet, but already looks pretty good. Still trying to wrap my head around it. To solve the problem with the provinces two hexagon worlds could be created. One for zooming, and one which describes the "ground" of earth and it's provinces and/or countries. This could be done with UBER H3 compression technique where large parts are covered with large hexagons and smaller ones with little ones. However for routing purposes it would probably be better to main the same size, but for visualization purposes this compression might help. Possibilities for further research is either zooming functionality where level of detail is adjusted as user zoom in closer. Or a selection technique where only the selected hexagon to user is pointing towards is zoomed in... which would be a cool/funny technique maybe ! ;) Now that hexagon grid is working, more time should be spent on the networking and gui design of ufo alert tool and the routing of messages and/or broadcast messages to alert people of the presence of a ufo, especially if within their region. Plus perhaps also some time on some kind of server based/algorithm to distribute the initial peers to the main hexagons or so and perhaps further research into "leader" selection per (main) hexagon or so...