Jeff Brickley (jbrickley++at++lmwsmr.lesc.lockheed.com)
Fri, 06 Jun 1997 08:49:18 -0700
That is the routine we use, I set a flag with a keypress ("I") and save the
screen in a post-render call-back. This method gives the added advantage
that it gets the raster image before the X-Cursor is added to the display
(excellent for presentation printing)....
if (VTR->snapimage) {
VTR->snapimage=0;
i=0;
do {
sprintf(temp,"scrn_capt/pic%d.rgb",i++);
} while (!access(temp,0));
pfuSaveImage(temp,0,0,1600,1200,0);
}
This is an older version of the routine, the latest actually measures the
screen-size, but I cannot remember the function calls and the current
sources are not available at the moment....
Jeffry J. Brickley
3D Systems Programmer
Lockheed Martin
White Sands Missile Range, NM
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
SGI DevForum 97 info: http://www.sgi.com/Forum97/
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:55:24 PDT