Changeset 1927 for OpenSceneGraph/trunk/examples/osghud/osghud.cpp
- Timestamp:
- 04/30/03 13:40:17 (10 years ago)
- Files:
-
- 1 modified
-
OpenSceneGraph/trunk/examples/osghud/osghud.cpp (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
OpenSceneGraph/trunk/examples/osghud/osghud.cpp
r1844 r1927 45 45 46 46 text->setFont(timesFont); 47 text->setPosition(position); 47 48 text->setText("Head Up Displays are simple :-)"); 48 text->setPosition(position);49 49 50 50 position += delta; … … 57 57 58 58 text->setFont(timesFont); 59 text->setAutoScaleToScreen(true); 60 text->setPosition(position); 59 61 text->setText("All you need to do is create your text in a subgraph."); 60 text->setPosition(position);61 62 62 63 position += delta; … … 69 70 70 71 text->setFont(timesFont); 72 text->setPosition(position); 71 73 text->setText("Disable depth test in this subgraph to ensure its always ontop."); 72 text->setPosition(position);73 74 74 75 position += delta; … … 80 81 81 82 text->setFont(timesFont); 83 text->setPosition(position); 82 84 text->setText("Then place an osg::Projection node above the subgraph\nto create an orthographic projection."); 83 text->setPosition(position);84 85 85 86 position += delta; … … 91 92 92 93 text->setFont(timesFont); 94 text->setPosition(position); 93 95 text->setText("And add an osg::ModelViewMatrix set to ABSOLUTE to ensure\nit remains independent from any external model view matrices."); 94 text->setPosition(position);95 96 96 97 position += delta;
