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

GRASS GIS trac at osgeo.org
Mon Jul 16 05:20:22 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 epifanio):

 Rebuilding with X support enabled didn't change the `m.nviz.image` output.
 Adding `fprintf(stderr, "draw where: %d\n", where);`, as you instructed,
 produce the following output:

 {{{
 (Mon Jul 16 14:19:48 2018)
 m.nviz.image elevation_map=elevation output=elev perspective=15 --o
 WARNING: File <elev.ppm> already exists and will be overwritten
 Loading raster map <elevation at PERMANENT>...
 Loading raster map <elevation at PERMANENT>...
 Translating colors from raster map <elevation at PERMANENT>...
 draw where: 2
 buffer: both
 draw where: 3
 buffer: both
 draw where: 2
 buffer: both
 draw where: 3
 buffer: both
 draw where: 2
 buffer: both
 draw where: 3
 buffer: both
 draw where: 2
 buffer: both
 buffer: swap
 draw where: 2
 buffer: both
 m.nviz.image complete. File <elev.ppm> created.
 (Mon Jul 16 14:19:48 2018) Command finished (0 sec)
 }}}

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



More information about the grass-dev mailing list