[GRASS-dev] [GRASS GIS] #3600: m.nviz.image doesn't produce any output

GRASS GIS trac at osgeo.org
Sat Jul 7 23:54:21 PDT 2018


#3600: m.nviz.image doesn't produce any output
--------------------------+-------------------------
  Reporter:  guano        |      Owner:  grass-dev@…
      Type:  defect       |     Status:  new
  Priority:  normal       |  Milestone:
 Component:  Default      |    Version:  7.0.4
Resolution:               |   Keywords:
       CPU:  Unspecified  |   Platform:  MacOSX
--------------------------+-------------------------

Comment (by hcho):

 Replying to [comment:28 hellik]:
 > Replying to [comment:21 hcho]:
 > > Please try r72948.
 >
 > tested with
 >
 > {{{
 > GRASS version: 7.5.svn
 > GRASS SVN revision: r72959
 > Build date: 2018-07-06
 > Build platform: x86_64-w64-mingw32
 > GDAL: 2.2.4
 > PROJ.4: 4.9.3
 > GEOS: 3.5.0
 > SQLite: 3.17.0
 > Python: 2.7.14
 > wxPython: 2.8.12.1
 > Platform: Windows-10-10.0.17134 (OSGeo4W)
 > }}}
 >
 > ppm and tif can't be opened.
 >
 > DEBUG=3 output of the cmd, tif and ppm attached

 Hmm... The size of the ppm is 6618224*0. OK, glViewport never gets called
 unless you resize the viewport. I think omitting glViewport is
 implementation dependent. Please try the attached patch
 (lib/nviz/render.c).

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



More information about the grass-dev mailing list