Show
Ignore:
Timestamp:
02/09/05 17:18:44 (10 years ago)
Author:
robert
Message:

Changed the mpeg plugin to read movies the original way up rather than the
OpenGL way up to keep them consistent with the xine and quicktime movie codes

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • OpenSceneGraph/trunk/examples/osgmovie/osgmovie.cpp

    r3820 r3825  
    184184    if (useTextureRectangle) 
    185185    { 
    186         osg::Geometry* pictureQuad = osg::createTexturedQuadGeometry(pos, 
     186        osg::Geometry* pictureQuad = createTexturedQuadGeometry(pos, 
    187187                                           osg::Vec3(width,0.0f,0.0f), 
    188188                                           osg::Vec3(0.0f,0.0f,height), 
    189                                            image->s(),image->t()); 
     189                                           0.0f,image->t(), image->s(),0.0f); 
    190190                                        
    191191        pictureQuad->getOrCreateStateSet()->setTextureAttributeAndModes(0, 
     
    197197    else 
    198198    { 
    199         osg::Geometry* pictureQuad = osg::createTexturedQuadGeometry(pos, 
     199        osg::Geometry* pictureQuad = createTexturedQuadGeometry(pos, 
    200200                                           osg::Vec3(width,0.0f,0.0f), 
    201201                                           osg::Vec3(0.0f,0.0f,height), 
    202                                            1.0f,1.0f); 
     202                                           0.0f,0.0f, 1.0f,1.0f); 
    203203                                        
    204204        pictureQuad->getOrCreateStateSet()->setTextureAttributeAndModes(0,