[GRASS-dev] [GRASS GIS] #3606: m.nviz.image produces a screenshot
GRASS GIS
trac at osgeo.org
Mon Jul 16 08:25:54 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):
Replying to [comment:6 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)
> }}}
Could you please attach your lib/ogsf/gs2.c, lib/ogsf/gsd_prim.c, and
include/ogsf.h? I know they must be the same as my trunk, but looks like
switch doesn't work at all? I'm confused.
--
Ticket URL: <https://trac.osgeo.org/grass/ticket/3606#comment:7>
GRASS GIS <https://grass.osgeo.org>
More information about the grass-dev
mailing list