X-Git-Url: http://pileus.org/git/?p=grits;a=blobdiff_plain;f=TODO;h=b1a167eeb519c6d577461cbe9b12b329b295cc3d;hp=93116d3c9e8260fecbbb03f68df4f87f7a6dfa3a;hb=ac7156bd84aef88b712f117f7e2f3d847d371719;hpb=4d1e8fc57db10e2cfd12ba1eddf498f6cf873d4f diff --git a/TODO b/TODO index 93116d3..b1a167e 100644 --- a/TODO +++ b/TODO @@ -5,3 +5,42 @@ Road plan DisplayLists/ glInterleavedArrays * States/cities/roads overlays + +Roam update +----------- + + x # Gis: + x gis_update_tiles(tiles); + x for (tile in tiles) + x if (need_split(tiles)) + x tiles << split(tile) + x gis_render_surface(Image *img) + x polys = roam_get_intersecting_polies(img) + x for (poly in plies) + x render(img, poly) + + # Roam: + on_view_change: + roam_update_errors(roam) + on_timeout: + split_merge: + if (height_func()) + vertex_heght = roam->height_func() + else + vertex_heght = 0 + + x # GisPluginSrtm: + x on_view_change: + x roam->height_func = srtm_height_func + x gis_update_tiles(tiles) + x for (new_tiles in tiles) + x points = roam_get_intersecting_points(tile) + x for (poly in plies) + x render(img, poly) + + x # GisPluginBmng: + x on_view_change: + x gis_update_tiles(tiles) + x on_render: + x for tile in tiles: + x gis_render_surface(gis, tile)