<< names[j]->getStringValue() );
}
} else {
- SG_LOG(SG_INPUT, SG_ALERT,
+ SG_LOG(SG_INPUT, SG_WARN,
"Skipping bad material entry " << node->getName());
}
}
if ( !state_initialized ) {
state_initialized = true;
- cout << "initializing cloud layers" << endl;
+ SG_LOG(SG_ASTRO, SG_INFO, "initializing cloud layers");
SGPath cloud_path;
ssgSimpleState *sgCloudMakeState( const string &path ) {
ssgSimpleState *state = new ssgSimpleState();
- cout << " texture = " << path << endl;
+ SG_LOG(SG_ASTRO, SG_INFO, " texture = ");
state->setTexture( (char *)path.c_str() );
state->setShadeModel( GL_SMOOTH );