Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

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

branches/atmospheric_engine: work on the billboard

File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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.