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

GRASS GIS trac at osgeo.org
Wed Jul 25 07:03:53 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:84 hcho]:
 > Replying to [comment:83 guano]:
 > > It works!
 > >
 > > The attachments I just added (Screenshot.jog and
 nviz_output_working.jpg​) show the 3D image setup and the output.
 > >
 > > Many thanks for the work on this!
 >
 > Yay! Thanks for testing. Could you please test other cases too just to
 make sure that only this setup works?
 >
 > 1. AGL without FBO: current trunk, doesn't work
 > 2. AGL with FBO: Add {{{#define OPENGL_AGL 1}}} in those four files
 (OPENGL_AGL & OPENGL_FBO); {{{./configure; make clean && make}}}
 > 3. CGL without FBO: Remove {{{#define OPENGL_FBO 1}}} from the above
 files (no OPENGL_FBO, no OPENGL_AGL); {{{./configure; make clean &&
 make}}}
 > 4. CGL with FBO: (OPENGL_FBO, no OPENGL_AGL) You just confirmed that it
 works.
 >
 > Since AGL is deprecated and only supports 32bit, we should go with case
 4 at least for the Mac. The only problem with FBO is that the nviz and
 ogsf libraries will be offscreen rendering only without direct rendering
 to application windows (default framebuffer provided by a windowing system
 like X11, Aqua, and GDI32). Right now, no other modules use nviz & ogsf
 for direct rendering and wxGUI & wxPython provide that capability, so I
 don't see any major issues at this moment.
 >

 For this testing, please make sure to {{{#define}}} at the very beginning
 of each file before any {{{#if defined()}}}.

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



More information about the grass-dev mailing list