]> Pileus Git - grits/blobdiff - TODO
Reorganize BMNG and SRTM into plugins
[grits] / TODO
diff --git a/TODO b/TODO
index 613f2bcecc3a339ae3825038a16d7bdf0bb451be..b1a167eeb519c6d577461cbe9b12b329b295cc3d 100644 (file)
--- a/TODO
+++ b/TODO
@@ -1,26 +1,46 @@
 Road plan
 ---------
-0.1 - Working
-  * Fix all memory leaks
-  * Pre-load textures and polys in OpenGL
+* Use Vertex Arrays/
+  VertexBufferObjects/
+  DisplayLists/
+  glInterleavedArrays
+* States/cities/roads overlays
 
-0.x - Volume scans
-  * Display iso surfaces of volume scans
+Roam update
+-----------
 
-0.x - GIS
-  * Replace RIDGE overlays with GIS images
-  * Set up LLH coordinate system
-  * Generic Time/Location selection
-    (not dependent on level 2 listings)
+  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)
 
-0.x - More data
-  * Derived from Level 2:
-    * Composite reflectivity
-    * Storm relative motion
-    * Echo tops
-  * Warning/watch boxes
-  * Fronts
-  * Air pressure
+    # Roam:
+    on_view_change:
+      roam_update_errors(roam)
+    on_timeout:
+      split_merge:
+        if (height_func())
+           vertex_heght = roam->height_func()
+        else
+           vertex_heght = 0
 
-0.x - Animation
-  * Loop though times
+  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)