James Turner writes: 
> 
> On Thursday, September 25, 2003, at 11:25  am, Norman Vine wrote:
> 
> >> Wireframe mode works,  it's the turning the textures on and off that 
> >> no longer
> >> works.  Maybe we should remap F9 to switch wireframe on and off?
> >
> > We really need either
> > 1) a key for wire-frame  or
> > 2) figure out how to get PLIB to switch back to shaded after switching
> >     to wire-frame as the prop browser is useless in wire-frame mode
> 
> I was just looking at main.cxx (in mounting fear...) and it looks 
> pretty simple to cancel and restore the wire-frame state around 
> puDisplay(), which I **presume** is what does the PUI drawing. There 
> are probably a bunch of other things that might want to be excluded 
> from wireframe mode, I guess. Around about line 748 of main.cxx, btw

One would think so,  but I guess am not smart enough to do this
i.e  This nor anything else I have tried doesn't work

        // We can do translucent menus, so why not. :-)
        // Force Poly Fill mode
        glPolygonMode(GL_FRONT, GL_FILL);

        menus->apply();
        glBlendFunc ( GL_SRC_ALPHA, GL_ONE_MINUS_SRC_ALPHA ) ;
        puDisplay();

Regardless we still want a key binding as normally you want to switch 
back and forth between textured and wire-frame to get your bearings

Cheers

Norman

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to