[GRASS-dev] [GRASS GIS] #3606: m.nviz.image produces a screenshot

GRASS GIS trac at osgeo.org
Tue Jul 17 04:25:04 PDT 2018


#3606: m.nviz.image produces a screenshot
-----------------------+-------------------------
  Reporter:  epifanio  |      Owner:  grass-dev@…
      Type:  defect    |     Status:  new
  Priority:  major     |  Milestone:
 Component:  Display   |    Version:  svn-trunk
Resolution:            |   Keywords:
       CPU:  x86-64    |   Platform:  Linux
-----------------------+-------------------------

Comment (by hcho):

 Maybe try size=100,100 and see what the output size is.

 Not sure what it is, but you can also try to directly draw to the front
 buffer without buffer swapping
 1. Change line 223 in lib/nviz/draw.c to {{{GS_set_draw(GSD_FRONT);}}}
 2. Comment out line 480 {{{glXSwapBuffers}}} from lib/ogsf/gsd_prim.c.

-- 
Ticket URL: <https://trac.osgeo.org/grass/ticket/3606#comment:10>
GRASS GIS <https://grass.osgeo.org>



More information about the grass-dev mailing list