Ignore:
Timestamp:
Jul 24, 2010, 10:48:02 AM (14 years ago)
Author:
Torben Dannhauer
Message:
 
File:
1 edited

Legend:

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

    r70 r73  
    4141void visual_skySilverLining::skyUpdateCallback::operator()(osg::Node* node, osg::NodeVisitor* nv)
    4242{
    43         std::cout << "Sky silverlining update callback" << std::endl;
     43        //std::cout << "Sky silverlining update callback" << std::endl;
    4444        // Check if atmosphere is initialized.
    4545        if (!sky->isInitialized())
     
    5050
    5151        // Update sky
    52         double lat, lon, height, x, y, z;
    53         util::getXYZofCamera( sceneCamera, x, y, z);
     52        double lat, lon, height;
    5453        util::getWGS84ofCamera( sceneCamera, csn, lat, lon, height );
    5554        //std::cout << "lat: " << osg::RadiansToDegrees(lat) << ", lon: " << osg::RadiansToDegrees(lon) << ", height: " << height << std::endl;
     
    247246        //addWindVolume( 0.0, 15000.0, 300.0, 90.0 );
    248247       
    249         addCloudLayer( 0, 300000, 300000, 600.0, 2351.0, 0.5, STRATUS );
     248        //addCloudLayer( 0, 300000, 300000, 600.0, 2351.0, 0.5, STRATUS );
    250249        //addCloudLayer( 0, 5000000, 5000000, 600.0, 7351.0, 0.2, CIRRUS_FIBRATUS );
    251250        //addCloudLayer( 0, 50000, 50000, 600.0, 7351.0, 0.2, CIRROCUMULUS );
Note: See TracChangeset for help on using the changeset viewer.