Commit Graph

58 Commits

Author SHA1 Message Date
denizdiktas a4c56c9f3d added: 2 flags when recording the faces and code to check the smallest country 2023-08-11 15:34:04 +03:00
denizdiktas 93811dfe4a added: source and target attributes to each edge in json format 2023-08-11 13:12:06 +03:00
denizdiktas 64bafda02f added anti z-fighting capability to smooth-shader 2023-08-10 12:57:17 +03:00
denizdiktas 72547412db solved the triangulation error 2023-08-10 12:33:03 +03:00
denizdiktas dbd95118e3 initiali triangle visualization (triangles outside of the polygon are rendered as well) 2023-08-10 11:54:39 +03:00
denizdiktas f80b980242 added: initial triangulation code 2023-08-10 10:11:50 +03:00
denizdiktas 249b41236d modified file format 2023-08-08 11:03:48 +03:00
denizdiktas 16863d7148 modified the arr-saving function 2023-08-01 13:18:55 +03:00
denizdiktas 5ba1864147 working on JSON-loading 2023-07-30 16:42:42 +03:00
denizdiktas 1995b8b61f corrections for saving the json file 2023-07-28 13:24:42 +03:00
denizdiktas ddaa233443 minor refactor 2023-07-28 12:06:37 +03:00
denizdiktas c2f323b55a saving the vertices and edges for now (intermediate commit) 2023-07-24 17:18:54 +03:00
denizdiktas 39504e536c Added: JSON parser (with example) 2023-07-24 12:27:30 +03:00
denizdiktas db132c30f8 commented out shapefile 2023-07-23 13:30:42 +03:00
denizdiktas f5f0995a62 Finished: code to identify the newly created faces: previous approach changed. Newly added faces are shown in red 2023-07-18 17:42:26 +03:00
denizdiktas 9014f8833e Initial implementation of checking the newly created faces during the arrangement construction 2023-07-17 17:54:24 +03:00
denizdiktas a43389da33 bug fix: confirmed that the previous opengl error was due to the inactive OpenGL context. Fixed it by moving the update function into paintGL(). This causes a delay when updating the approximation, will probably need multithreaded solution (low-priority / future work) 2023-07-17 13:00:51 +03:00
denizdiktas 13111f4b9e Added: Message_manager to notify changes in zoom (trying to recompute the country boundaries results in strange OpenGL problems) 2023-07-17 11:47:42 +03:00
denizdiktas 92c6c1794f Added: Timer class to time the computation of the approximation of country borders 2023-07-14 12:30:46 +03:00
denizdiktas f7b1d1675a Refactor: moved commonly calculated values in the manipulators up to the base class 2023-07-14 11:50:58 +03:00
denizdiktas 70247a17ab clean-up 2023-07-13 19:35:10 +03:00
denizdiktas 8bbb43c10e Refactor: camera manipulator for zoom moved to its own class 2023-07-13 19:21:36 +03:00
denizdiktas 96c81a0794 Refactor: camera manipulator bpa moved to its own class by deriving from camera_manip 2023-07-13 18:44:18 +03:00
denizdiktas b800d9a7f5 Refactor: moved basic gui-handling in Camera_manip_rot into Camera_manip 2023-07-12 19:21:18 +03:00
denizdiktas e7db9ce172 Refactor: moved camera rotation-manipulator to its own class 2023-07-12 18:18:20 +03:00
denizdiktas 78cead66e2 minor refactor 2023-07-12 17:28:34 +03:00
denizdiktas 19bb136f38 Refactor: moved shapefile reader to its own class 2023-07-12 11:36:23 +03:00
denizdiktas 2d2174d2cc Added: code to check for problematic nodes in Africa region and verify the redundant node in Antarctica 2023-07-11 21:34:15 +03:00
denizdiktas 824d9890c5 minor refactor 2023-07-10 20:38:27 +03:00
denizdiktas 83d22ace80 node-collapsing (very basic) 2023-07-10 20:12:51 +03:00
denizdiktas 258b40a7d7 Working on identifying the vertex problems 2023-07-10 15:52:04 +03:00
denizdiktas ea0604eddc Implemented: defining polygons with node-ids 2023-07-08 13:29:41 +03:00
denizdiktas daf548c58c refactor 2023-07-07 17:35:53 +03:00
denizdiktas 7ba83df90a Added: identification curve in the scene 2023-07-07 14:56:05 +03:00
denizdiktas 9f98df3d16 Refactor 2023-07-05 12:35:18 +03:00
denizdiktas d5c4d3fd64 Implemented: check for problematic arc in Antarctica (looks like it is repeating 2 points in the south pole so that they can be seen in the projected planar coordinates when the coordinates are wrapped along the x-axis (longitude) 2023-07-04 14:36:21 +03:00
denizdiktas 32446d30c2 Refactor: moved common arc construction code in Aos to anonymous namespace functions (might still need to refactor common code further) 2023-07-04 12:41:17 +03:00
denizdiktas 434c219b52 Moved arc construction into Aos as static (make it non-static member function?) 2023-07-04 12:11:20 +03:00
denizdiktas 1c934d7302 Corrected the rendering and arrangement construction logic (TODO: we need to take outer and inner boundaries separately) 2023-07-03 17:10:45 +03:00
denizdiktas 7571f9a5d0 Implemented: rendering individual arcs to see the problem with the GIS data-set 2023-07-03 13:51:29 +03:00
denizdiktas e29175b81e Rendering countries one by one 2023-06-30 14:03:53 +03:00
denizdiktas 03e2234437 refactor 2023-06-29 16:52:29 +03:00
denizdiktas 38c41461af Added: code to visualize the newly created vertices and to toggle the visualization of the countries 2023-06-28 18:50:22 +03:00
denizdiktas 10e7154607 Added: check with extended DCEL 2023-06-28 18:14:58 +03:00
denizdiktas 31cd58d8f9 Added: Arrangement check code 2023-06-28 17:08:41 +03:00
denizdiktas c5a7777708 Added: code to render the repeated vertices 2023-06-26 14:22:27 +03:00
denizdiktas b31d2d48ed Added: code to check for duplicates 2023-06-26 12:50:06 +03:00
denizdiktas a7bbef7d87 World countries are rendered on the sphere 2023-06-24 14:33:07 +03:00
denizdiktas 520083fd31 Kml reader can read country data (Note: this is not a general reader!) 2023-06-24 12:21:09 +03:00
denizdiktas ffca6656b4 added node conversion for kml-reader 2023-06-24 11:54:35 +03:00