Ignore:
Timestamp:
Nov 1, 2010, 6:24:56 PM (14 years ago)
Author:
Torben Dannhauer
Message:

start to move osgVisual from argument based configuratiobn to xml file based configuration

File:
1 edited

Legend:

Unmodified
Added
Removed
  • osgVisual/src/sky_Silverlining/skySilverLining_skyDrawable.cpp

    r143 r144  
    164164                        atmosphere->SetRightVector(-0.201185, 0.979553, 0.0);
    165165
    166                         /** \todo  :not working!! what is wrong? */
    167                         // override the some options of the configuration file with the required settings to make silverlining upgrades easier
    168                         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 
    173166            // Set our location (change this to your own latitude and longitude)
    174167            SilverLining::Location loc;
     
    256249                        cloudLayer_->SetLayerPosition( 0.0, 0.0 );
    257250                        cloudLayer_->GenerateShadowMaps(false);
    258                         cloudLayer_->SetIsInfinite( true );
     251                        //cloudLayer_->SetIsInfinite( true );
    259252
    260253
Note: See TracChangeset for help on using the changeset viewer.