]> git.mxchange.org Git - flightgear.git/commitdiff
Vassilii Khachaturov thought that these messages are actually debug messages and...
authorehofman <ehofman>
Sat, 22 Oct 2005 11:26:58 +0000 (11:26 +0000)
committerehofman <ehofman>
Sat, 22 Oct 2005 11:26:58 +0000 (11:26 +0000)
src/FDM/groundcache.cxx
src/Time/light.cxx
src/Time/sunpos.cxx

index b241a0f1c1e081a5c4c90d9d9b0b985b6947e78f..450b53ef81c6866cd20d7808805333cd113fe5a1 100644 (file)
@@ -532,7 +532,7 @@ FGGroundCache::prepare_ground_cache(double ref_time, const double pt[3],
   cache_fill(terrain, xform, &acSphere, down, &wireSphere);
 
   // some stats
-  SG_LOG(SG_FLIGHT,SG_INFO, "prepare_ground_cache(): ac radius = " << rad
+  SG_LOG(SG_FLIGHT,SG_DEBUG, "prepare_ground_cache(): ac radius = " << rad
          << ", # triangles = " << triangles.size()
          << ", # wires = " << wires.size()
          << ", # catapults = " << catapults.size()
index 537b7679ec872693495879254acc95a012a63a8e..a0605f7d1016fc258bbfb0bab928c6c7a040aaf6 100644 (file)
@@ -166,20 +166,20 @@ void FGLight::update_sky_color () {
     const GLfloat base_sky_color[4] = { 0.31, 0.43, 0.69, 1.0 };
     const GLfloat base_fog_color[4] = { 0.84, 0.87, 1.0,  1.0 };
 
-    SG_LOG( SG_EVENT, SG_INFO, "Updating light parameters." );
+    SG_LOG( SG_EVENT, SG_DEBUG, "Updating light parameters." );
 
     // calculate lighting parameters based on sun's relative angle to
     // local up
 
     float deg = _sun_angle * SGD_RADIANS_TO_DEGREES;
-    SG_LOG( SG_EVENT, SG_INFO, "  Sun angle = " << deg );
+    SG_LOG( SG_EVENT, SG_DEBUG, "  Sun angle = " << deg );
 
     float ambient = _ambient_tbl->interpolate( deg );
     float diffuse = _diffuse_tbl->interpolate( deg );
     float specular = _specular_tbl->interpolate( deg );
     float sky_brightness = _sky_tbl->interpolate( deg );
 
-    SG_LOG( SG_EVENT, SG_INFO, 
+    SG_LOG( SG_EVENT, SG_DEBUG,
            "  ambient = " << ambient << "  diffuse = " << diffuse 
            << "  specular = " << specular << "  sky = " << sky_brightness );
 
index cf35a852e1493c21a98f39d9ee208589be4ebce1..f9b87accb5cb309ebe82b1411ef45ba91f32f001 100644 (file)
@@ -260,8 +260,8 @@ void fgUpdateSunPos( void ) {
     SGTime *t = globals->get_time_params();
     FGViewer *v = globals->get_current_view();
 
-    SG_LOG( SG_EVENT, SG_INFO, "  Updating Sun position" );
-    SG_LOG( SG_EVENT, SG_INFO, "  Gst = " << t->getGst() );
+    SG_LOG( SG_EVENT, SG_DEBUG, "  Updating Sun position" );
+    SG_LOG( SG_EVENT, SG_DEBUG, "  Gst = " << t->getGst() );
 
     double sun_l;
     fgSunPositionGST(t->getGst(), &sun_l, &sun_gd_lat);
@@ -273,8 +273,8 @@ void fgUpdateSunPos( void ) {
     Point3D p = Point3D( l->get_sun_lon(), l->get_sun_gc_lat(), sl_radius );
     l->set_sunpos( sgPolarToCart3d(p) );
 
-    SG_LOG( SG_EVENT, SG_INFO, "    t->cur_time = " << t->get_cur_time() );
-    SG_LOG( SG_EVENT, SG_INFO, 
+    SG_LOG( SG_EVENT, SG_DEBUG, "    t->cur_time = " << t->get_cur_time() );
+    SG_LOG( SG_EVENT, SG_DEBUG,
            "    Sun Geodetic lat = " << sun_gd_lat
            << " Geocentric lat = " << l->get_sun_gc_lat() );
 
@@ -302,7 +302,7 @@ void fgUpdateSunPos( void ) {
     //      << nsun[2] << endl;
 
     l->set_sun_angle( acos( sgScalarProductVec3 ( nup, nsun ) ) );
-    SG_LOG( SG_EVENT, SG_INFO, "sun angle relative to current location = "
+    SG_LOG( SG_EVENT, SG_DEBUG, "sun angle relative to current location = "
            << l->get_sun_angle() );
     
     // calculate vector to sun's position on the earth's surface