Text Rendering in Ogre-Next

Problems building or running the engine, queries about how to use features etc.
Post Reply
Hilarius86
Halfling
Posts: 48
Joined: Thu Feb 14, 2019 11:27 am
x 8

Text Rendering in Ogre-Next

Post by Hilarius86 »

Ogre Version: 2.1:
Operating System: Windows 10
Render System: DirectX11 / OpenGL

In our editor-like program we would like to draw text (e.g. names) for objects into the scene. I did this for a different project a while back in Ogre v1 and just used the MoveableText sample code from the wiki. MoveableTexts are essentially just a class with an entity and a camera to position an v1::OverlayElement with the text in it.

Is this still the preferred way to do this in Ogre-next? Sadly, I can't find the example for Ogre-next as that item seems to have been dropped from the wiki https://wiki.ogre3d.org/MovableText.

The alternative seems to be to use some kind of billboard object like here viewtopic.php?f=25&t=94186. This looks like the way to go now in ogre1 as I can see from the release notes: https://github.com/OGRECave/ogre/blob/m ... 2-Notes.md. Sadly I haven’t found any recent tips on how to do this and don’t want to go in the wrong direction here.
Post Reply