Re: no image with pfuSaveImage on iR

New Message Reply Date view Thread view Subject view Author view

Rob Jenkins (robj++at++quid)
Thu, 23 Jan 1997 12:25:05 -0800


Those with problems using pfuSaveImage on iR - is this within your own app ?
Please could you test with perfly ( hit the 'snap screen' GUI button ).

pfuSaveImage does different things depending if your rendering with Iris or
OpenGL:

#ifdef IRISGL
    lrectread((short)xorg, (short)yorg,
        (short)(xorg+xsize-1), (short)(yorg+ysize-1), scrbuf);
#else /* OPENGL */
    glReadPixels((short)xorg, (short)yorg, (short)xsize, (short)ysize,
         GL_RGBA, GL_UNSIGNED_BYTE, scrbuf);

I saw the note about using scrsave, that uses Iris GL so would do lrectread.

If perfly and perfly_ogl snap screen OK then you have an app problem. If one or
the other doesn't work please let me know.

Cheers
Rob

-- 
________________________________________________________________
Rob Jenkins mailto:robj++at++csd.sgi.com
Silicon Graphics, Mtn View, California, USA
=======================================================================
List Archives, FAQ, FTP:  http://www.sgi.com/Technology/Performer/
            Submissions:  info-performer++at++sgi.com
        Admin. requests:  info-performer-request++at++sgi.com

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:54:27 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.