Changeset 122 for osgVisual/src/sky_Silverlining
- Timestamp:
- Aug 24, 2010, 10:07:29 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
osgVisual/src/sky_Silverlining/visual_skySilverLining.cpp
r116 r122 234 234 { 235 235 // Only allow one execution 236 if(postInitialized)237 return;238 else postInitialized = true;236 //if(postInitialized) 237 // return; 238 //else postInitialized = true; 239 239 240 240 // 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 245 243 //atmosphere->GetConditions()->SetFog( 0.8, 1, 1, 1); // use this for simulation real fog. 246 247 248 244 249 245 //Todo: secure memory-manager of timer*. oder remove paragraph … … 251 247 // atmosphere->GetConditions()->SetMillisecondTimer(timer); 252 248 //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 262 249 } 263 250
Note: See TracChangeset
for help on using the changeset viewer.