[GRASS-dev] Re: [GRASS GIS] #104: saving display to tiff or ppm garbled when NVIZ is not top window

GRASS GIS trac at osgeo.org
Thu Mar 27 08:10:40 EDT 2008


#104: saving display to tiff or ppm garbled when NVIZ is not top window
----------------------+-----------------------------------------------------
  Reporter:  dylan    |       Owner:  grass-dev at lists.osgeo.org
      Type:  defect   |      Status:  new                      
  Priority:  minor    |   Milestone:  6.4.0                    
 Component:  default  |     Version:  svn-trunk                
Resolution:           |    Keywords:  NVIZ openGL              
----------------------+-----------------------------------------------------
Comment (by glynn):

 Replying to [comment:4 dylan]:

 > Some updates (2008-03-26 SVN) & "nvidia" driver with DRI/GLX enabled.

 > 1. export to full-res PPM, no error messages but results in black image.

 > Creating PBuffer Using GLX 1.3

 I think I've fixed this; at least, it works on my system.

 The main change was to create a new context rather than using the existing
 context.

 I've also changed the glXChooseFBConfig() call so that it only reports
 FBConfigs which are likely to actually work (e.g. those which are
 compatible with pBuffers and have a depth buffer).

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/104#comment:5>
GRASS GIS <http://grass.osgeo.org>
GRASS Geographic Information System (GRASS GIS) - http://grass.osgeo.org/


More information about the grass-dev mailing list