Nicolas Gauvin (nicolas++at++cae.ca)
Thu, 12 Sep 1996 12:25:23 -0400
Something like:
chan = new pfChannel(pipe);
chan->setViewport(0.0f,1.0f,0.5f,1.0f);
drawCB(pfChannel* chan, void* data)
{
chan->clear();
pfDraw(); /* draw OWD and HUD */
#ifdef IRISGL
/* draw your 2D instrument in bottom half using GL*/
pushviewport();
viewport(0.0f,0.0,0.0f,0.5f);
ortho2(...)
...
popviewport();
#endif
}
I haven't tried this myself.
Nicolas Gauvin CAE Electronics Ltd., 8585 Cote De Liesse
Software Developer Saint-Laurent, Quebec, Canada, H4L-4X4
3-D Graphics Applications tel: +1 514 341 2000 extension 2275
nicolas++at++cae.ca fax: +1 514 340 5496
=======================================================================
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:53:31 PDT