False Drawings

New Message Reply Date view Thread view Subject view Author view

Thomas Ludwig (ludwig++at++bflsgz.fl.bs.dlr.de)
Thu, 27 Nov 1997 14:46:40 +0100


Hi performer's,
I wrote a little Motif-program using RapidApp with an GL-DrawingArea and
various buttons. Now I use this DrawingArea-widget for my
Performer-program. I use the following commands:

Window xwin = XtWindow( w);
pw -> setWinType(PFWIN_TYPE_X);
pw -> setWSWindow( NULL, xwin);
pw -> set WSDrawable( NULL, xwin);

On the end of my program I took the demo-program "simple.C" and now I
can draw a aircraft (pitts.dwb) which is in rotation. However, contrary
to the program "simple.C" my aircraft is transparent and the body is
always drawing over the wings.
I could not find any differences between both (I use the same commands
like in "simple.C"). I think the problem could be the window-type? Could
anyone tell me, where the differences are and how I could change my
drawings to the right?

Whith best regards
                        Thomas Ludwig.
=======================================================================
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:56:15 PDT

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