Norman Vine writes:
> Curtis L. Olson writes:
> >
> >Ok, that was definitely helpful.  If you go to src/Model/model.cxx,
> >line #248 and comment out the "Load panels" section of code, the C172
> >becomes shaded again and the objects no longer glow at night.
> 
> Good one !
> 
> Looks like we need something like
> 
> void
> FGPanel::draw()
> {
>  glPushAttrib( GL_ENABLE_BIT | GL_POLYGON_BIT | GL_COLOR_BUFFER_BIT |
> GL_LIGHTING_BIT ) ;
> .....
>  glPopAttrib();
> }
> 
> Not sure if I got them all

I added a couple more, just to be safe, but that pretty much did it I
think.

Curt.
-- 
Curtis Olson   IVLab / HumanFIRST Program       FlightGear Project
Twin Cities    [EMAIL PROTECTED]                  [EMAIL PROTECTED]
Minnesota      http://www.menet.umn.edu/~curt   http://www.flightgear.org

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

Reply via email to