Show
Ignore:
Timestamp:
08/20/04 11:46:02 (10 years ago)
Author:
robert
Message:

From Don Tidrow, fixes to comments.

Files:
1 modified

Legend:

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

    r1927 r3305  
    129129        text->setPosition(cursor); 
    130130         
    131         // use text that uses 10 by 10 texels as a target resolution for fonts. 
     131        // use text that uses 20 by 20 texels as a target resolution for fonts. 
    132132        text->setFontResolution(20,20); // smoother but higher texture memory usage (but still quite low). 
    133133         
     
    144144        text->setPosition(cursor); 
    145145         
    146         // use text that uses 10 by 10 texels as a target resolution for fonts. 
     146        // use text that uses 40 by 40 texels as a target resolution for fonts. 
    147147        text->setFontResolution(40,40); // even smoother but again higher texture memory usage. 
    148148         
     
    168168        text->setPosition(cursor); 
    169169         
    170         // use text that 20 units high. 
     170        // use text that is 20 units high. 
    171171        text->setCharacterSize(20); // small 
    172172         
     
    183183        text->setPosition(cursor); 
    184184         
    185         // use text that 20 units high. 
     185        // use text that is 30 units high. 
    186186        text->setCharacterSize(30.0f); // medium 
    187187         
     
    198198        text->setPosition(cursor); 
    199199         
    200         // use text that uses 10 by 10 texels as a target resolution for fonts. 
     200        // use text that is 60 units high. 
    201201        text->setCharacterSize(60.0f); // large 
    202202