Show
Ignore:
Timestamp:
10/13/05 12:29:40 (9 years ago)
Author:
robert
Message:

Changed the "Cessna" text so that it is sized according to OBJECT_COORDS rather
than SCREEN_COORDS as the later was causing problems with the pixel size based LOD selection.

Files:
1 modified

Legend:

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

    r4563 r4588  
    9696        text->setAxisAlignment(osgText::Text::SCREEN); 
    9797        text->setCharacterSize(40.0f); 
    98         text->setCharacterSizeMode(osgText::Text::SCREEN_COORDS); 
     98        text->setCharacterSizeMode(osgText::Text::OBJECT_COORDS); 
    9999         
    100100        osg::Geode* geode = new osg::Geode;