Changeset 143 for osgVisual/src/sky_Silverlining
- Timestamp:
- Oct 19, 2010, 9:45:54 PM (14 years ago)
- Location:
- osgVisual/src/sky_Silverlining
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
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.