Re: Performer/OpenGL/Popup Window

New Message Reply Date view Thread view Subject view Author view

Mario Veraart (rioj7++at++fel.tno.nl)
Fri, 25 Apr 1997 14:32:03 +0200 (MET DST)


> Is there a way in Performer to give me a popup window to performer some
> 2D plots using OpenGL, and close it when I done ? I knew Performer has
> pfWindow, but everytime I open it, it always show the some objects in
> the scene which belong to pfPipeWindow (my main application window).
> An example will be very helpful.
>
> Phuc C. Ngo
> pngo++at++nswc.navy.mil

You can use the channel drawcallback to draw what you want.
Don't make a call to the pfDraw() function and then you just
have a clear screen. Setup a 2D ortho viewport and draw what you want.
Look in the code examples that give examples for HUD of how to do
it. They are in the archives for this mailing list.

Mario
=======================================================================
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:55:06 PDT

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