Changeset 10338 in orxonox.OLD for branches/camera/src/world_entities/blackscreen.cc
- Timestamp:
- Jan 24, 2007, 5:04:03 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/camera/src/world_entities/blackscreen.cc
r10330 r10338 71 71 this->material = new Material(); 72 72 // this->material->setIllum(3); 73 // this->material->setDiffuse(0,0,0); 74 this->material->setSpecular(0.0,0.0,0.0); 75 // this->material->setAmbient(0, 0, 0); 73 // this->material->setTransparency(0.6); 74 //this->material->setDiffuse(0,0,0); 75 //this->material->setBlendFuncS("GL_SORCE_APLHA", "GL_ZERO"); 76 // this->material->setSpecular(0.0,0.0,0.0); 77 // this->material->setAmbient(1, 1, 1); 76 78 77 79 i=1; … … 117 119 // 118 120 119 glColor4f(0, 0, 0, i); 121 //glColor4f(0, 0, 0, i); 122 123 this->material->setTransparency(i); 120 124 this->material->select(); 121 this->material->setTransparency(i); 125 122 126 glBegin(GL_QUADS); 123 127 glVertex3f(State::getCameraNode()->getAbsCoorX()+3,State::getCameraNode()->getAbsCoorY() -100.0f, … … 179 183 } 180 184 185 bool blackscreen::isBlack() 186 { 187 if (i==1) 188 return 1; 189 else 190 return 0; 191 } 192 193 bool blackscreen::isTrans() 194 { 195 if (i==0) 196 return 1; 197 else 198 return 0; 199 }
Note: See TracChangeset
for help on using the changeset viewer.