Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 10220 in orxonox.OLD


Ignore:
Timestamp:
Jan 10, 2007, 4:06:46 PM (18 years ago)
Author:
gfilip
Message:

to do: materials for blackscreen

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/camera/src/world_entities/blackscreen.cc

    r10218 r10220  
    5151    this->loadParams(root);
    5252  i=0;
    53   state=1;
     53  state=0;
    5454}
    5555
     
    7575  this->material->setSpecular(0.0,0.0,0.0);
    7676  this->material->setAmbient(1.0, 1.0, 1.0);
    77   this->material->setDiffuseMap("maps/TE2.tga");
     77
    7878}
    7979
     
    111111
    112112glColor4f(0, 0, 0, i);
    113 
     113this->material->select();
    114114  glBegin(GL_QUADS);
    115   glVertex3f(State::getCameraNode()->getAbsCoorX()+500,State::getCameraNode()->getAbsCoorY() -100.0f,
     115  glVertex3f(State::getCameraNode()->getAbsCoorX()+3,State::getCameraNode()->getAbsCoorY() -100.0f,
    116116             State::getCameraNode()->getAbsCoorZ()-100.0f);
    117   glVertex3f(State::getCameraNode()->getAbsCoorX()+500, State::getCameraNode()->getAbsCoorY()-100.0f,
     117  glVertex3f(State::getCameraNode()->getAbsCoorX()+3, State::getCameraNode()->getAbsCoorY()-100.0f,
    118118             State::getCameraNode()->getAbsCoorZ()+100.0f);
    119   glVertex3f(State::getCameraNode()->getAbsCoorX()+500, State::getCameraNode()->getAbsCoorY() +100.0f,
     119  glVertex3f(State::getCameraNode()->getAbsCoorX()+3, State::getCameraNode()->getAbsCoorY() +100.0f,
    120120             State::getCameraNode()->getAbsCoorZ()+100.0f);
    121   glVertex3f(State::getCameraNode()->getAbsCoorX()+500, State::getCameraNode()->getAbsCoorY()+100.0f,
     121  glVertex3f(State::getCameraNode()->getAbsCoorX()+3, State::getCameraNode()->getAbsCoorY()+100.0f,
    122122             State::getCameraNode()->getAbsCoorZ()-100.0f);
    123123
Note: See TracChangeset for help on using the changeset viewer.