Changeset 144 for osgVisual/src/sky_Silverlining
- Timestamp:
- Nov 1, 2010, 6:24:56 PM (14 years ago)
- Location:
- osgVisual/src/sky_Silverlining
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
osgVisual/src/sky_Silverlining/skySilverLining_skyDrawable.cpp
r143 r144 164 164 atmosphere->SetRightVector(-0.201185, 0.979553, 0.0); 165 165 166 /** \todo :not working!! what is wrong? */167 // override the some options of the configuration file with the required settings to make silverlining upgrades easier168 OSG_ALWAYS << "atmosphere from space before : " << atmosphere->GetConfigOptionBoolean("enable-atmosphere-from-space") << std::endl;169 atmosphere->SetConfigOption("enable-atmosphere-from-space", "yes");170 atmosphere->SetConfigOption("draw-sun-below-horizon", "yes");171 OSG_ALWAYS << "atmosphere from space after: " << atmosphere->GetConfigOptionBoolean("enable-atmosphere-from-space") << std::endl;172 173 166 // Set our location (change this to your own latitude and longitude) 174 167 SilverLining::Location loc; … … 256 249 cloudLayer_->SetLayerPosition( 0.0, 0.0 ); 257 250 cloudLayer_->GenerateShadowMaps(false); 258 cloudLayer_->SetIsInfinite( true );251 //cloudLayer_->SetIsInfinite( true ); 259 252 260 253 -
osgVisual/src/sky_Silverlining/visual_skySilverLining.cpp
r143 r144 19 19 using namespace osgVisual; 20 20 21 visual_skySilverLining::visual_skySilverLining(osgViewer::Viewer* viewer_ )21 visual_skySilverLining::visual_skySilverLining(osgViewer::Viewer* viewer_, std::string configFileName) 22 22 { 23 23 OSG_NOTIFY( osg::ALWAYS ) << "Initialize visual_skySilverlining..." << std::endl;
Note: See TracChangeset
for help on using the changeset viewer.