Resize with glwidget

New Message Reply Date view Thread view Subject view Author view

SCOTT OFRIEL (ofriels1++at++qmsmtpgw.mugu.navy.mil)
14 Aug 1996 11:17:10 U


                      Subject: Time: 10:42 AM
  OFFICE MEMO Resize with glwidget Date: 8/14/96

Hello:

We have a Performer application that forks off a motif process. The motif
process has a glwidget that we do all of our Performer rendering to. We are
having a problem with resizing. The graphics are not properly lined up
during window resize. We have a resize callback on the motif side and can
get the width and height of the glwidget.

What do you recommend we do to correctly resize such that the Performer
graphics are properly rendered to the glwidget.

When we were not using Performer (just OpenGL) we did a "glViewport" call in
the resize callback using the current height and width. This worked fine.

Thanks for any assistance.
Scott O'Friel

=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
            Submissions: info-performer++at++sgi.com
        Admin. requests: info-performer-request++at++sgi.com


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:53:21 PDT

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