Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 3603 in orxonox.OLD for orxonox/trunk/src/story_entities/world.cc


Ignore:
Timestamp:
Mar 18, 2005, 10:28:57 AM (19 years ago)
Author:
bensch
Message:

orxonox/trunk: attenuation works, and the Light is now in lib/graphics

File:
1 edited

Legend:

Unmodified
Added
Removed
  • orxonox/trunk/src/story_entities/world.cc

    r3602 r3603  
    171171      lightMan->setAmbientColor(.1,.1,.1);
    172172      lightMan->addLight();
    173       //      lightMan->setAttenuation(1.0, 2, 5);
     173      //      lightMan->setAttenuation(1.0, .01, 0.0);
    174174      //      lightMan->setDiffuseColor(1,1,1);
    175175      //  lightMan->addLight(1);
     
    258258          {
    259259            lightMan->setPosition(.0, .0, .0);
     260            lightMan->setAttenuation(1.0, .01, 0.0);
     261            lightMan->setSpecularColor(1,0,0);
    260262            this->nullParent = NullParent::getInstance ();
    261263            this->nullParent->setName ("NullParent");
Note: See TracChangeset for help on using the changeset viewer.