Changeset 198 for osgVisual/trunk/src/core
- Timestamp:
- Jan 13, 2011, 9:18:11 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
osgVisual/trunk/src/core/visual_core.cpp
r195 r198 368 368 if(cur_node->type == XML_ELEMENT_NODE && node_name == "cloudlayer") 369 369 { 370 /* 371 <cloudlayer slot="1" type="cumulusCongestus" enabled="true" fadetime="15"> 372 <geometry baselength="50000" basewidth="50000" thickness="500" baseHeight="1700" density="0.3"></geometry> 373 <precipitation rate_mmPerHour_rain="5.0" rate_mmPerHour_drySnow="7.0" rate_mmPerHour_wetSnow="10.0" rate_mmPerHour_sleet="0.0"></precipitation> 374 </cloudlayer> 375 */ 370 if(sky.valid()) 371 sky->configureCloudlayerbyXML( cur_node ); 376 372 } 377 373 … … 467 463 if(sky.valid()) 468 464 { 469 //sky->addCloudLayer( 0, 20000, 20000, 600.0, 1000.0, 0.5, CUMULONIMBUS_CAPPILATUS ); 470 //sky->addCloudLayer( 1, 5000000, 5000000, 600.0, 7351.0, 0.2, CIRRUS_FIBRATUS ); 471 //sky->addCloudLayer( 2, 50000, 50000, 600.0, 7351.0, 0.2, CIRROCUMULUS ); 472 ///sky->addCloudLayer( 2, 100000, 100000, 600.0, 2351.0, 0.75, STRATUS ); 473 sky->addCloudLayer( 3, 50000, 50000, 1300.0, 700.0, 0.07, CUMULUS_CONGESTUS ); 474 //sky->addCloudLayer( 1, 100000, 100000, 3500.0, 2000.0, 0.30, STRATOCUMULUS ); 475 476 //sky->setSlotPrecipitation( 1, 0.0, 0.0, 0.0, 25.0 ); 465 477 466 } 478 467
Note: See TracChangeset
for help on using the changeset viewer.