g.gui.animation: parallel rendering with d.rast and d.vect
|Reported by:||huhabla||Owned by:|
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.