Changeset 10220 in orxonox.OLD for branches/camera/src/world_entities
- Timestamp:
- Jan 10, 2007, 4:06:46 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/camera/src/world_entities/blackscreen.cc
r10218 r10220 51 51 this->loadParams(root); 52 52 i=0; 53 state= 1;53 state=0; 54 54 } 55 55 … … 75 75 this->material->setSpecular(0.0,0.0,0.0); 76 76 this->material->setAmbient(1.0, 1.0, 1.0); 77 this->material->setDiffuseMap("maps/TE2.tga"); 77 78 78 } 79 79 … … 111 111 112 112 glColor4f(0, 0, 0, i); 113 113 this->material->select(); 114 114 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, 116 116 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, 118 118 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, 120 120 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, 122 122 State::getCameraNode()->getAbsCoorZ()-100.0f); 123 123
Note: See TracChangeset
for help on using the changeset viewer.