Changeset 298 for osgVisual/trunk/src/sky_Silverlining
- Timestamp:
- Jul 18, 2011, 8:48:00 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
osgVisual/trunk/src/sky_Silverlining/skySilverLining_skyDrawable.cpp
r296 r298 80 80 //direction = view * direction; 81 81 direction.normalize(); 82 OSG_NOTIFY( osg::ALWAYS) << "X: "<<direction.x()<<" Y: "<<direction.y()<<" Z:"<<direction.z()<< std::endl;83 84 double cx,cy,cz;85 util::getXYZofCamera(_view->getCamera(), cx, cy, cz);86 osg::Vec3d up(cx, cy, cz);87 //up.normalize();88 //util::AddCylinderBetweenPoints(osg::Vec3d(cx,cy,cz), direction*15000000 , 5000.0, osg::Vec4d(1.0, 1.0, 0.0, 1 ), sceneRoot);89 util::AddCylinderBetweenPoints(osg::Vec3d(0,0,0), direction*15000000 , 5000.0, osg::Vec4d(0.0, 1.0, 1.0, 1 ), sceneRoot);90 91 82 92 83 light->setAmbient(ambient);
Note: See TracChangeset
for help on using the changeset viewer.