Changeset 73 for osgVisual/src/sky_Silverlining
- Timestamp:
- Jul 24, 2010, 10:48:02 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
osgVisual/src/sky_Silverlining/visual_skySilverLining.cpp
r70 r73 41 41 void visual_skySilverLining::skyUpdateCallback::operator()(osg::Node* node, osg::NodeVisitor* nv) 42 42 { 43 std::cout << "Sky silverlining update callback" << std::endl;43 //std::cout << "Sky silverlining update callback" << std::endl; 44 44 // Check if atmosphere is initialized. 45 45 if (!sky->isInitialized()) … … 50 50 51 51 // Update sky 52 double lat, lon, height, x, y, z; 53 util::getXYZofCamera( sceneCamera, x, y, z); 52 double lat, lon, height; 54 53 util::getWGS84ofCamera( sceneCamera, csn, lat, lon, height ); 55 54 //std::cout << "lat: " << osg::RadiansToDegrees(lat) << ", lon: " << osg::RadiansToDegrees(lon) << ", height: " << height << std::endl; … … 247 246 //addWindVolume( 0.0, 15000.0, 300.0, 90.0 ); 248 247 249 addCloudLayer( 0, 300000, 300000, 600.0, 2351.0, 0.5, STRATUS );248 //addCloudLayer( 0, 300000, 300000, 600.0, 2351.0, 0.5, STRATUS ); 250 249 //addCloudLayer( 0, 5000000, 5000000, 600.0, 7351.0, 0.2, CIRRUS_FIBRATUS ); 251 250 //addCloudLayer( 0, 50000, 50000, 600.0, 7351.0, 0.2, CIRROCUMULUS );
Note: See TracChangeset
for help on using the changeset viewer.