David, We have a checken and egg problem here. We can query the depth buffer bits. But we can't do that until the display is init'd and we already have a valid opengl context. But, we need to know this info in order to do the glut intialization properly.
???? We may need to fall back to a command line option and have the user tell the application what to do. Curt. David Megginson writes: > Curtis L. Olson writes: > > > Mark Harris mentioned that the back buffer requires a "destination > > alpha" for imposter rendering to work. Perhaps that's why things > > aren't great with a 16bit color buffer, you probalby aren't even > > getting an alpha channel there? > > That's possible, but currently the problem is that FlightGear will not > start at all at 16bpp with --enable-clouds, because of this: > > if ( fgGetBool("/sim/rendering/clouds3d") ) { > glutInitDisplayMode( GLUT_RGB | GLUT_DEPTH | GLUT_DOUBLE | GLUT_ALPHA ); > } else { > glutInitDisplayMode( GLUT_RGB | GLUT_DEPTH | GLUT_DOUBLE ); > } > > Here's what I get: > > GLUT: Fatal Error in fgfs: visual with necessary capabilities not found. > > > All the best, > > > David > > -- > David Megginson, [EMAIL PROTECTED], http://www.megginson.com/ > > _______________________________________________ > Flightgear-devel mailing list > [EMAIL PROTECTED] > http://mail.flightgear.org/mailman/listinfo/flightgear-devel -- 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