[GRASS-SVN] r48001 - grass/trunk/gui/wxpython/gui_modules

svn_grass at osgeo.org svn_grass at osgeo.org
Wed Aug 31 11:37:39 EDT 2011


Author: martinl
Date: 2011-08-31 08:37:39 -0700 (Wed, 31 Aug 2011)
New Revision: 48001

Modified:
   grass/trunk/gui/wxpython/gui_modules/wxvdigit.py
Log:
wxGUI/vdigit: note todo for rendering


Modified: grass/trunk/gui/wxpython/gui_modules/wxvdigit.py
===================================================================
--- grass/trunk/gui/wxpython/gui_modules/wxvdigit.py	2011-08-31 11:47:22 UTC (rev 48000)
+++ grass/trunk/gui/wxpython/gui_modules/wxvdigit.py	2011-08-31 15:37:39 UTC (rev 48001)
@@ -10,6 +10,13 @@
  - VDigitError
  - IVDigit
 
+ at todo Read large amounts of data from Vlib into arrays, which could
+then be processed using NumPy and rendered using glDrawArrays or
+glDrawElements, so no per-line/per-vertex processing in Python. Bulk
+data processing with NumPy is much faster than iterating in Python
+(and NumPy would be an excellent candidate for acceleration via
+e.g. OpenCL or CUDA; I'm surprised it hasn't happened already).
+
 (C) 2007-2011 by the GRASS Development Team
 
 This program is free software under the GNU General Public License



More information about the grass-commit mailing list