Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Mar 11, 2010, 4:30:30 PM (15 years ago)
Author:
dafrick
Message:

Added additional pickup (TestPickup), and did some bug $fixing.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/pickup3/src/modules/pickup/PickupRepresentation.cc

    r6484 r6512  
    154154    {
    155155        StaticEntity* representation = new StaticEntity(spawner);
    156         //TODO: Nicer...
    157         Billboard* billboard = new Billboard(spawner);
    158         billboard->setColour(ColourValue(1.0, 0.0, 0.0));
    159         billboard->setMaterial("Examples/Flare");
    160         representation->attach(billboard);
     156        Billboard* sphere = new Billboard(spawner);
     157        sphere->setColour(ColourValue(0.95, 0.85, 0.27));
     158        sphere->setMaterial("Sphere2");
     159        sphere->setScale(0.1);
     160        Billboard* icon = new Billboard(spawner);
     161        icon->setColour(ColourValue(0.89, 0.79, 0.08));
     162        icon->setMaterial("Asterix");
     163        icon->setScale(0.5);
     164        sphere->attach(icon);
     165        representation->attach(sphere);
    161166        return representation;
    162167    }
Note: See TracChangeset for help on using the changeset viewer.