Rob Jenkins (robj++at++quid)
Thu, 23 Jan 1997 12:25:05 -0800
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
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:54:27 PDT