Changeset 6545 in orxonox.OLD for branches/avi_play/src/world_entities/movie_entity.cc
- Timestamp:
- Jan 18, 2006, 2:11:34 PM (19 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/avi_play/src/world_entities/movie_entity.cc
r6532 r6545 19 19 #include "load_param.h" 20 20 #include "factory.h" 21 #include "material.h"22 21 23 22 #include "network_game_manager.h" … … 36 35 37 36 media_container = new MediaContainer(); 38 39 this->material = new Material;40 this->material->setDiffuseMap("maps/radialTransparency.png");41 37 42 38 axis = 0; … … 59 55 MovieEntity::~MovieEntity () 60 56 { 61 delete this->material;62 57 delete this->media_container; 63 58 } … … 139 134 glDisable(GL_LIGHTING); 140 135 141 this->material->select();136 glEnable(GL_TEXTURE_2D); 142 137 glBindTexture(GL_TEXTURE_2D, media_container->getFrameTexture(counter)); 138 139 glColor3f(1.0, 1.0, 1.0); 143 140 144 141 glBegin(GL_QUADS);
Note: See TracChangeset
for help on using the changeset viewer.