Re: False Drawings

New Message Reply Date view Thread view Subject view Author view

Angus Dorbie (dorbie++at++multipass)
Mon, 8 Dec 1997 11:38:09 -0800


Looks like you don't have a zbuffered visual.

You need to select a visual with the attributes you need,
Use either of the following:

     void pfPipeWindow::setFBConfig(XVisualInfo* vi);

     void pfPipeWindow::setFBConfigAttrs(int *attr);

Cheers,Angus.

On Nov 27, 2:46pm, Thomas Ludwig wrote:
> Subject: False Drawings
> 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
>-- End of excerpt from 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:21 PDT

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