Re: Colour Window Dump

New Message Reply Date view Thread view Subject view Author view

Jeff Brickley (jbrickley++at++lmwsmr.lesc.lockheed.com)
Fri, 06 Jun 1997 08:49:18 -0700


 ----------
> From: Angus Dorbie
> To: Inge Henriksen; sgi-infoperformer
> Subject: Re: Colour Window Dump
> Date: Wednesday, June 04, 1997 9:52PM
>
> There's also the easy to use pfuSaveImage function.

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/


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:55:24 PDT

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