Ignore:
Timestamp:
Jun 5, 2011, 10:33:34 PM (13 years ago)
Author:
Torben Dannhauer
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • osgVisual/trunk/src/sky_Silverlining/skySilverLining_skyDrawable.cpp

    r292 r293  
    7878        //direction = view * direction;
    7979        direction.normalize();
     80               
     81//OSG_NOTIFY(osg::ALWAYS)       << "Light Vector: X:"<<direction.x()<<" Y:"<<direction.y()<<" Z:"<<direction.z() << std::endl;
     82util::AddCylinderBetweenPoints(osg::Vec3d(0,0,0), direction , 10000.0, 15000000.0, osg::Vec4d(1.0, 1.0, 0.0, 1 ), sceneRoot);
    8083
    8184        light->setAmbient(ambient);
    8285        light->setDiffuse(diffuse);
    8386        //light->setSpecular(osg::Vec4(0,0,0,1));
    84                 light->setSpecular(osg::Vec4(1.0,1.0,1.0,1));   // Test
     87                //light->setSpecular(osg::Vec4(1.0,1.0,1.0,1)); // Test
    8588        light->setPosition(osg::Vec4(direction.x(), direction.y(), direction.z(), 0));
    8689    }
Note: See TracChangeset for help on using the changeset viewer.