Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Changeset 6513 in orxonox.OLD


Ignore:
Timestamp:
Jan 17, 2006, 10:35:53 PM (18 years ago)
Author:
hdavid
Message:

branches\avi_play: disable lighting for the movie_entity

Location:
branches/avi_play/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • branches/avi_play/src/lib/graphics/importer/movie_player.cc

    r6510 r6513  
    121121
    122122  // Get a pointer to the codec context for the video stream
    123   // NOTE: different code for the 0.4.9-pre1 release of ffmpeg (tardis)
    124   // codec_context = &format_context->streams[video_stream]->codec;
    125123  codec_context = format_context->streams[video_stream]->codec;
    126124
  • branches/avi_play/src/world_entities/movie_entity.cc

    r6508 r6513  
    135135  glRotatef(axis, 0.0f, 1.0f, 0.0f);
    136136//PRINTF(0)("axis: %f\n", axis);
     137
     138  glPushAttrib(GL_ENABLE_BIT);
     139  glDisable(GL_LIGHTING);
     140
    137141  this->material->select();
    138142  glBindTexture(GL_TEXTURE_2D, media_container->getFrameTexture(counter));
     
    145149  glEnd();
    146150
     151  glPopAttrib();
     152
    147153  glPopMatrix();
    148154
Note: See TracChangeset for help on using the changeset viewer.