Ignore:
Timestamp:
Aug 24, 2010, 10:07:29 PM (14 years ago)
Author:
Torben Dannhauer
Message:
 
File:
1 edited

Legend:

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

    r116 r122  
    234234{
    235235        // Only allow one execution
    236         if(postInitialized)
    237                 return;
    238         else postInitialized = true;
     236        //if(postInitialized)
     237        //      return;
     238        //else postInitialized = true;
    239239
    240240        // Execute Updatecallback once before adding Clouds.
    241         updateCallback->operator ()(this, NULL);
    242 
    243         setTime(12,00,23);
    244         setVisibility(50000);
     241        //updateCallback->operator ()(this, NULL);
     242
    245243        //atmosphere->GetConditions()->SetFog( 0.8, 1, 1, 1);   // use this for simulation real fog.
    246 
    247 
    248244
    249245        //Todo: secure memory-manager of timer*. oder remove paragraph
     
    251247 //   atmosphere->GetConditions()->SetMillisecondTimer(timer);
    252248        //atmosphere->GetConditions()->EnableTimePassage(true, -1);
    253 
    254         //addWindVolume( 0.0, 15000.0, 300.0, 90.0 );
    255        
    256         //addCloudLayer( 0, 300000, 300000, 600.0, 2351.0, 0.5, STRATUS );
    257         //addCloudLayer( 0, 5000000, 5000000, 600.0, 7351.0, 0.2, CIRRUS_FIBRATUS );
    258         //addCloudLayer( 0, 50000, 50000, 600.0, 7351.0, 0.2, CIRROCUMULUS );
    259         ///addCloudLayer( 1, 200000, 200000, 3000, 2000.0, 0.05, CUMULUS_CONGESTUS );
    260         //cloudLayerSlots[1].cloudLayerPointer->SetPrecipitation(SilverLining::CloudLayer::SLEET, 25.0 );
    261 
    262249}
    263250
Note: See TracChangeset for help on using the changeset viewer.