Changeset 6160 in orxonox.OLD for branches/avi_play/src/subprojects
- Timestamp:
- Dec 19, 2005, 12:43:51 AM (19 years ago)
- Location:
- branches/avi_play/src/subprojects/importer
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/avi_play/src/subprojects/importer/importer.cc
r6127 r6160 40 40 SDL_Delay(1000); 41 41 42 // get the frame and save it as an image43 //while(movie->getNextFrame() != NULL);44 45 42 } 46 43 … … 60 57 void Framework::moduleTick(float dt) 61 58 { 62 //while(movie->getNextFrame() != NULL);63 //movie->saveCurrentFrame();59 while(movie->getNextFrame() != NULL); 60 movie->saveCurrentFrame(); 64 61 } 65 62 -
branches/avi_play/src/subprojects/importer/multitex.cc
r6149 r6160 52 52 53 53 seq = new TextureSequence(); 54 //for (int i = 1; i < argc; i++) 55 //{ 56 // seq->addFrame(argv[i]); 57 // printf("%s\n", argv[i]); 58 //} 54 while(seq->addFrame(movie->getNextFrame()) != NULL); 59 55 60 // add one frame from the movie 61 //seq->addFrame(movie->getNextFrame()); 62 //GLuint tex; 63 while(seq->addFrame(movie->getNextFrame()) != NULL) 64 65 test = new Texture(argv[1]); 56 test = new Texture(); 57 58 // ???: Only works if i set as diffuse map an image 59 // from the avifile created with importer (frameXX.ppm) 66 60 testMat->setDiffuseMap(argv[1]); 67 61
Note: See TracChangeset
for help on using the changeset viewer.