Vassilii Khachaturov thought that these messages are actually debug messages and I tend to agree.
This commit is contained in:
parent
12fc19080b
commit
f938af2592
3 changed files with 9 additions and 9 deletions
|
@ -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()
|
||||
|
|
|
@ -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 );
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue