Guy Premont (silicon-worlds++at++calva.net)
Mon, 16 Dec 1996 16:29:41 +0100
I'm porting a Performer application to a Indigo2 Max Impact and I'm
having some trouble with the porting of functions related to the overlay
plane.
This application was running on an Onyx (Irix 5.3 Performer 2.0 & GL)
and the porting is towards a Max Impact (Irix 6.2 Performer 2.1 &
OpenGL). The porting is rather simple and direct however when I want to
put a picture on the overlay plane troubles arrive.
In my draw process, I was simply doing
drawmode(OVERLAY);
lrectwrite(...);
drawmode(NORMALDRAW);
and it worked fast and painlessly.
Now, i'm trying something like:
pwOver = pfGetPWinOverlayWin(pw);
pfSelectWin(pwOver);
glMatrixMode( GL_MODELVIEW ); glPushMatrix(); glLoadIdentity();
glMatrixMode( GL_PROJECTION ); glPushMatrix(); glLoadIdentity();
glOrtho( ... );
glRasterPos2i(x, y);
glDrawPixels(...);
glMatrixMode( GL_MODELVIEW ); glPopMatrix();
glMatrixMode( GL_PROJECTION ); glPopMatrix();
pfSelectPWin(pw);
But it doesn't work.
Could somebody give my a hint?
Thanks,
Guy Premont
===========================================
Silicon Worlds S.A.
10, rue Louis Morard 75014 Paris France
Tel: +33 (01) 53.90.11.11
Fax: +33 (01) 53.90.11.12
===========================================
=======================================================================
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:10 PDT