- Timestamp:
- 10/27/04 10:39:18 (9 years ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/examples/osgscalarbar/osgscalarbar.cpp
r3528 r3547 86 86 osg::MatrixTransform * modelview = new osg::MatrixTransform; 87 87 modelview->setReferenceFrame(osg::Transform::ABSOLUTE_RF); 88 modelview->setCullingActive(false); 88 89 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 89 90 modelview->setMatrix(matrix); … … 146 147 while( !viewer.done() ) 147 148 { 149 148 150 // wait for all cull and draw threads to complete. 149 151 viewer.sync();
