Changeset 143 for osgVisual/src


Ignore:
Timestamp:
Oct 19, 2010, 9:45:54 PM (14 years ago)
Author:
Torben Dannhauer
Message:
 
Location:
osgVisual/src
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • osgVisual/src/core/visual_core.cpp

    r140 r143  
    414414        sky->setTime(12,00,23);
    415415        sky->setVisibility(50000);
    416         //addWindVolume( 0.0, 15000.0, 300.0, 90.0 );
     416        sky->addWindVolume( 0.0, 15000.0, 50.0, 90.0 );
    417417       
    418418        //sky->addCloudLayer( 0, 20000, 20000, 600.0, 1000.0, 0.5, CUMULONIMBUS_CAPPILATUS );
    419419        //sky->addCloudLayer( 1, 5000000, 5000000, 600.0, 7351.0, 0.2, CIRRUS_FIBRATUS );
    420420        //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
    425426
    426427        //testObj = new visual_object( rootNode, "testStab", objectMountedCameraManip );
  • osgVisual/src/sky_Silverlining/skySilverLining_skyDrawable.cpp

    r134 r143  
    161161
    162162            // 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);
    165163                        atmosphere->SetUpVector(0.662994, 0.136169, 0.736136);
    166164                        atmosphere->SetRightVector(-0.201185, 0.979553, 0.0);
     
    247245                                return;
    248246                        }
    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;
    252247
    253248                        // generate Cloud Layer
     
    261256                        cloudLayer_->SetLayerPosition( 0.0, 0.0 );
    262257                        cloudLayer_->GenerateShadowMaps(false);
     258                        cloudLayer_->SetIsInfinite( true );
     259
    263260
    264261                        //Save cloudlayer information into SLOT
  • osgVisual/src/sky_Silverlining/visual_skySilverLining.cpp

    r139 r143  
    275275        }
    276276    }
    277     atmosphere->SetProjectionMatrix(dProj);
     277    //atmosphere->SetProjectionMatrix(dProj);
    278278}
    279279
Note: See TracChangeset for help on using the changeset viewer.