// xglMaterialfv (GL_FRONT, GL_DIFFUSE, white);
}
- global_tile_mgr.render();
+ // global_tile_mgr.render();
// ssg test
double agl = current_aircraft.fdm_state->get_Altitude() * FEET_TO_METER
- scenery.cur_elev;
- FG_LOG( FG_ALL, FG_INFO, "visibility is "
- << current_weather.get_visibility() );
+ // FG_LOG( FG_ALL, FG_INFO, "visibility is "
+ // << current_weather.get_visibility() );
if ( agl > 10.0 ) {
// ssgSetNearFar( 10.0f, current_weather.get_visibility() );
sgMat4 sgVIEW;
sgMultMat4( sgVIEW, current_view.sgVIEW, sgTRANS );
ssgSetCamera( sgVIEW );
- // ssgSetCamera( current_view.sgVIEW );
+
+ global_tile_mgr.prep_ssg_nodes();
ssgCullAndDraw( scene );
xglDisable( GL_TEXTURE_2D );
// distribution) specifically from the ssg tux example
//
- // ssgModelPath( "/stage/pinky01/src/Libs/plib-1.0.12/examples/ssg/tux/data/" );
- // ssgTexturePath( "/stage/pinky01/src/Libs/plib-1.0.12/examples/ssg/tux/data/" );
- ssgModelPath( "/h/curt/src/Libs/plib-1.0.12/examples/ssg/tux/data/" );
- ssgTexturePath( "/h/curt/src/Libs/plib-1.0.12/examples/ssg/tux/data/" );
+ ssgModelPath( "/stage/pinky01/src/Libs/plib-1.0.12/examples/ssg/tux/data/" );
+ ssgTexturePath( "/stage/pinky01/src/Libs/plib-1.0.12/examples/ssg/tux/data/" );
+ // ssgModelPath( "/h/curt/src/Libs/plib-1.0.12/examples/ssg/tux/data/" );
+ // ssgTexturePath( "/h/curt/src/Libs/plib-1.0.12/examples/ssg/tux/data/" );
scene = new ssgRoot;
terrain = new ssgBranch;