Show
Ignore:
Timestamp:
02/09/05 12:30:42 (9 years ago)
Author:
robert
Message:

Added vertical offset to multiple movies instances

Files:
1 modified

Legend:

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

    r3819 r3820  
    253253            geode->addDrawable(createTexturedQuadGeometry(pos,image->s(),image->t(),image)); 
    254254            geode->getOrCreateStateSet()->setMode(GL_LIGHTING,osg::StateAttribute::OFF); 
     255             
     256            pos.z() += image->t()*1.5f; 
    255257        } 
    256258