Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 7965 in orxonox.OLD for branches/atmospheric_engine


Ignore:
Timestamp:
May 30, 2006, 12:52:29 AM (19 years ago)
Author:
hdavid
Message:

branches/atmospheric_engine: work on the billboard

Location:
branches/atmospheric_engine/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/atmospheric_engine/src/lib/graphics/effects/lightening_effect.cc

    r7951 r7965  
    3333 
    3434  billboard = new Billboard(NULL);
    35   billboard->setTexture("maps/lightning_bolt.png");
     35  //billboard->setTexture("maps/lightning_bolt.png");
    3636  //billboard->setSize(50, 50);
    3737  //billboard->setAbsCoor2D(10,10);
  • branches/atmospheric_engine/src/world_entities/effects/billboard.cc

    r7951 r7965  
    6060  this->setName("Billboard");
    6161
     62  this->toList(OM_COMMON);
     63
    6264  this->material = new Material();
    63   this->setTexture("pictures/error_texture.png");
     65  this->setTexture("maps/lightning_bolt.png");
    6466  this->setAbsCoor(0, 0, 0);
    6567  this->setVisibiliy(true);
     
    139141    return;
    140142
     143//PRINTF(0)("draw\n");
     144
    141145  glPushMatrix();
    142146
    143   glTranslatef(this->getAbsCoor().x, this->getAbsCoor().y, this->getAbsCoor().z);
     147  //glTranslatef(this->getAbsCoor().x, this->getAbsCoor().y, this->getAbsCoor().z);
     148  glTranslatef(0,0,0);
    144149  this->material->select();
    145150
Note: See TracChangeset for help on using the changeset viewer.