Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 18, 2006, 2:11:34 PM (19 years ago)
Author:
hdavid
Message:

branches/avi_play: removed material

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/avi_play/src/world_entities/movie_entity.cc

    r6532 r6545  
    1919#include "load_param.h"
    2020#include "factory.h"
    21 #include "material.h"
    2221
    2322#include "network_game_manager.h"
     
    3635
    3736  media_container = new MediaContainer();
    38 
    39   this->material = new Material;
    40   this->material->setDiffuseMap("maps/radialTransparency.png");
    4137
    4238  axis = 0;
     
    5955MovieEntity::~MovieEntity ()
    6056{
    61   delete this->material;
    6257  delete this->media_container;
    6358}
     
    139134  glDisable(GL_LIGHTING);
    140135
    141   this->material->select();
     136  glEnable(GL_TEXTURE_2D);
    142137  glBindTexture(GL_TEXTURE_2D, media_container->getFrameTexture(counter));
     138
     139  glColor3f(1.0, 1.0, 1.0);
    143140
    144141  glBegin(GL_QUADS);
Note: See TracChangeset for help on using the changeset viewer.