Changeset 10352 in orxonox.OLD for branches/camera/src/world_entities/blackscreen.cc
- Timestamp:
- Jan 24, 2007, 7:44:44 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/camera/src/world_entities/blackscreen.cc
r10348 r10352 96 96 glPushAttrib(GL_ENABLE_BIT); 97 97 glDisable(GL_LIGHTING); 98 glEnable(GL_BLEND); // Turn Blending On 99 100 glMatrixMode(GL_MODELVIEW); 98 101 glPushMatrix(); 99 glEnable(GL_BLEND); // Turn Blending On 102 /* translate */ 103 glTranslatef (this->getAbsCoor ().x, 104 this->getAbsCoor ().y, 105 this->getAbsCoor ().z); 106 Vector tmpRot = this->getAbsDir().getSpacialAxis(); 107 glRotatef (this->getAbsDir().getSpacialAxisAngle(), tmpRot.x, tmpRot.y, tmpRot.z ); 100 108 101 109 this->material->setTransparency(i);
Note: See TracChangeset
for help on using the changeset viewer.