Show
Ignore:
Timestamp:
10/27/04 10:39:18 (9 years ago)
Author:
robert
Message:

Added setCullingActive false to the absolute transform.

Files:
1 modified

Legend:

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

    r3528 r3547  
    8686    osg::MatrixTransform * modelview = new osg::MatrixTransform; 
    8787    modelview->setReferenceFrame(osg::Transform::ABSOLUTE_RF); 
     88    modelview->setCullingActive(false); 
    8889    osg::Matrixd matrix(osg::Matrixd::scale(1000,1000,1000) * osg::Matrixd::translate(120,10,0)); // I've played with these values a lot and it seems to work, but I have no idea why 
    8990    modelview->setMatrix(matrix); 
     
    146147    while( !viewer.done() ) 
    147148    { 
     149        
    148150        // wait for all cull and draw threads to complete. 
    149151        viewer.sync();