Allan Schaffer (aschaffe)
Wed, 26 Apr 1995 22:43:56 -0700
Unfortunately this is fairly difficult in the current release of
Performer. IRIS GL (the rendering toolkit used by Performer) does
not provide any functionality for off-screen rendering.
Luckily, the Performer 2.0's use of OpenGL will make this much
simpler. Assuming it works the way I expect, you should be able to
render directly to an off-screen buffer (pixmap). This is a slower
rendering path because it forgoes any available hardware
acceleration, but allows you to use Xlib calls to write the pixmap to
a file, display it, or whatever.
For now, your best bet is to incorporate use of a program like
"/usr/sbin/scrsave" (from eoe2.sw.gltools in 5.3) into your
application, or run it by hand. The source to scrsave is shipped in
4Dgifts.sw.iristools.
Good luck,
Allan
-- Allan Schaffer aschaffe++at++sgi.com Silicon Graphics http://reality.sgi.com/employees/aschaffe
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:51:26 PDT