#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@PERMANENT>...
 Loading raster map <elevation@PERMANENT>...
 Translating colors from raster map <elevation@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>

_______________________________________________
grass-dev mailing list
[email protected]
https://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to