Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jun 7, 2008, 3:39:48 PM (16 years ago)
Author:
landauf
Message:
  • AI ships are now displayed with a point with its teamcolour on the radar.
  • It's now possible to assign an arbitrary colour (and even a texture) to a RadarObject. But be aware the system has to create a new material for every colour (not for every object), so please use deterministic colours to reduce the amount of used materials to a bearable number.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/trunk/src/orxonox/hud/Navigation.cc

    r1505 r1562  
    210210        }
    211211        else{
    212             focus_->resetColour();
     212            focus_->resetMaterial();
    213213            if(it_ != HUD::getSingleton().roSet.end()){
    214214                focus_ = *it_;
     
    224224            navMarker_->show();
    225225            navText_->show();
    226             focus_->setColour(RadarObject::WHITE);
     226            focus_->setColour(ColourValue::White);
    227227        }
    228228    }
Note: See TracChangeset for help on using the changeset viewer.