- Timestamp:
- Oct 19, 2010, 9:45:54 PM (14 years ago)
- Location:
- osgVisual/src
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
osgVisual/src/core/visual_core.cpp
r140 r143 414 414 sky->setTime(12,00,23); 415 415 sky->setVisibility(50000); 416 //addWindVolume( 0.0, 15000.0, 300.0, 90.0 );416 sky->addWindVolume( 0.0, 15000.0, 50.0, 90.0 ); 417 417 418 418 //sky->addCloudLayer( 0, 20000, 20000, 600.0, 1000.0, 0.5, CUMULONIMBUS_CAPPILATUS ); 419 419 //sky->addCloudLayer( 1, 5000000, 5000000, 600.0, 7351.0, 0.2, CIRRUS_FIBRATUS ); 420 420 //sky->addCloudLayer( 2, 50000, 50000, 600.0, 7351.0, 0.2, CIRROCUMULUS ); 421 sky->addCloudLayer( 3, 50000, 50000, 1300.0, 700.0, 0.07, CUMULUS_CONGESTUS ); 422 sky->addCloudLayer( 1, 50000, 50000, 3500.0, 2000.0, 0.90, STRATOCUMULUS ); 423 424 //cloudLayerSlots[1].cloudLayerPointer->SetPrecipitation(SilverLining::CloudLayer::SLEET, 25.0 ); 421 //sky->addCloudLayer( 3, 50000, 50000, 1300.0, 700.0, 0.07, CUMULUS_CONGESTUS ); 422 sky->addCloudLayer( 1, 100000, 100000, 3500.0, 2000.0, 0.60, STRATOCUMULUS ); 423 424 //sky->setSlotPrecipitation( 1, 0.0, 0.0, 0.0, 25.0 ); 425 425 426 426 427 //testObj = new visual_object( rootNode, "testStab", objectMountedCameraManip ); -
osgVisual/src/sky_Silverlining/skySilverLining_skyDrawable.cpp
r134 r143 161 161 162 162 // Let SilverLining know which way is up. OSG usually has Z going up. 163 //atmosphere->SetUpVector(0, 0, 1);164 //atmosphere->SetRightVector(1, 0, 0);165 163 atmosphere->SetUpVector(0.662994, 0.136169, 0.736136); 166 164 atmosphere->SetRightVector(-0.201185, 0.979553, 0.0); … … 247 245 return; 248 246 } 249 OSG_NOTIFY(osg::ALWAYS) << "lat:" << newCL.lat << std::endl;250 OSG_NOTIFY(osg::ALWAYS) << "lon:" << newCL.lon << std::endl;251 OSG_NOTIFY(osg::ALWAYS) << "radius:" << radius << std::endl;252 247 253 248 // generate Cloud Layer … … 261 256 cloudLayer_->SetLayerPosition( 0.0, 0.0 ); 262 257 cloudLayer_->GenerateShadowMaps(false); 258 cloudLayer_->SetIsInfinite( true ); 259 263 260 264 261 //Save cloudlayer information into SLOT -
osgVisual/src/sky_Silverlining/visual_skySilverLining.cpp
r139 r143 275 275 } 276 276 } 277 atmosphere->SetProjectionMatrix(dProj);277 //atmosphere->SetProjectionMatrix(dProj); 278 278 } 279 279
Note: See TracChangeset
for help on using the changeset viewer.