#104: saving display to tiff or ppm garbled when NVIZ is not top window
----------------------+-----------------------------------------------------
  Reporter:  dylan    |       Owner:  [email protected]
      Type:  defect   |      Status:  new                      
  Priority:  minor    |   Milestone:  6.4.0                    
 Component:  default  |     Version:  svn-trunk                
Resolution:           |    Keywords:  NVIZ openGL              
----------------------+-----------------------------------------------------
Comment (by glynn):

 It's not an OpenGL bug, but a limitation. If you render to a window, the
 rendering is clipped to the visible portion (the part that's on-screen and
 not obscured by another window). If you read the rendered image (with
 glReadPixels()), the clipped portions will contain garbage.

 The only reliable way to generate image files using OpenGL is to render to
 an off-screen target such as a pBuffer or GLXPixmap. But those require
 support from the driver, and we haven't had much luck with either approach
 (of course, there might be bugs in the code which creates the pBuffer or
 GLXPixmap).

-- 
Ticket URL: <http://trac.osgeo.org/grass/ticket/104#comment:1>
GRASS GIS <http://grass.osgeo.org>
GRASS Geographic Information System (GRASS GIS) - http://grass.osgeo.org/
_______________________________________________
grass-dev mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/grass-dev

Reply via email to