Changeset 3305
- Timestamp:
- 08/20/04 11:46:02 (9 years ago)
- Files:
-
- 1 modified
-
OpenSceneGraph/trunk/examples/osgtext/osgtext.cpp (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/examples/osgtext/osgtext.cpp
r1927 r3305 129 129 text->setPosition(cursor); 130 130 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. 132 132 text->setFontResolution(20,20); // smoother but higher texture memory usage (but still quite low). 133 133 … … 144 144 text->setPosition(cursor); 145 145 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. 147 147 text->setFontResolution(40,40); // even smoother but again higher texture memory usage. 148 148 … … 168 168 text->setPosition(cursor); 169 169 170 // use text that 20 units high.170 // use text that is 20 units high. 171 171 text->setCharacterSize(20); // small 172 172 … … 183 183 text->setPosition(cursor); 184 184 185 // use text that 20 units high.185 // use text that is 30 units high. 186 186 text->setCharacterSize(30.0f); // medium 187 187 … … 198 198 text->setPosition(cursor); 199 199 200 // use text that uses 10 by 10 texels as a target resolution for fonts.200 // use text that is 60 units high. 201 201 text->setCharacterSize(60.0f); // large 202 202
