[GRASS-dev] [GRASS GIS] #1926: g.gui.animation: parallel rendering with d.rast and d.vect

GRASS GIS trac at osgeo.org
Fri Apr 12 15:47:34 PDT 2013


#1926: g.gui.animation: parallel rendering with d.rast and d.vect
-------------------------+--------------------------------------------------
 Reporter:  huhabla      |       Owner:  grass-dev@…              
     Type:  enhancement  |      Status:  new                      
 Priority:  normal       |   Milestone:  7.0.0                    
Component:  wxGUI        |     Version:  svn-trunk                
 Keywords:  animation    |    Platform:  All                      
      Cpu:  All          |  
-------------------------+--------------------------------------------------
 I would suggest to use d.rast and d.vect to create the render images in
 parallel in g.gui.animation.

 At the moment r.out.ppm is used to create the render images which is IMHO
 insufficient. There is no way to support vector maps with this approach.

 In addition, the size of the render images should not depend on the
 current region settings. It should be dependent on the size of the
 animation render window. This can not be archived with the current
 approach without tweaking the region settings.

 Using d.rast and d.vect lets specify the size of the render images using
 GRASS_WIDTH and GRASS_HEIGHT in the render process and allows the parallel
 rendering of several images at the same time.

 I have attached a patch to enable the parallel rendering of raster and
 vector maps in the BitmapProvider class. It seems to me that this approach
 is much faster on a multicore system then the current approach.

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/1926>
GRASS GIS <http://grass.osgeo.org>



More information about the grass-dev mailing list