Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
In this recipe, we will show you how to create billboard-style 3D text in your Ogre3D application. This text is often used to display player names, and stats over their in-game model or to label buildings in a simulation. Because the text is attached to a SceneNode, it will become smaller as the camera moves away from it.
To follow along with this recipe, open the solution located in the Recipes/Chapter05 folder in the code bundle available on the Packt website.
Download files for the MovableText class from the Ogre3d site at http://www.ogre3d.org/tikiwiki/MovableText.
Prepare definitions for the fonts that you'd like to use in the file sample.fontdef, in the media/fonts folder.
MovableText, by following the Creating an MFC Ogre application recipe, in Chapter 1,Delving Deep
into Application Design.