Movable Text in screen space

Anything and everything that's related to OGRE or the wider graphics field that doesn't fit into the other forums.
Post Reply
Shem
Halfling
Posts: 55
Joined: Fri Feb 16, 2018 9:32 am
x 8

Movable Text in screen space

Post by Shem »

Ogre Version: 1.12.9
Operating System: Win10
Render System: OGL3+
Quadro RTX 4000

Hi,

Is there a simple way to get the MovableText sample code (https://wiki.ogre3d.org/MovableText) to lock to screen space?
From what I'm reading here viewtopic.php?t=31613 locking to screen space shouldn't be too hard so I guess I'm doing something wrong.

Thanks in advance
Shem
paroj
OGRE Team Member
OGRE Team Member
Posts: 1994
Joined: Sun Mar 30, 2014 2:51 pm
x 1074
Contact:

Re: Movable Text in screen space

Post by paroj »

Shem
Halfling
Posts: 55
Joined: Fri Feb 16, 2018 9:32 am
x 8

Re: Movable Text in screen space

Post by Shem »

Yes, I've used that before. Is there a way to lock that to a scene node ?
The MovableText object I can lock to a scene node but I need it to stay the same size in screen space.

Thanks
Shem
paroj
OGRE Team Member
OGRE Team Member
Posts: 1994
Joined: Sun Mar 30, 2014 2:51 pm
x 1074
Contact:

Re: Movable Text in screen space

Post by paroj »

take a look at the endless world sample, which does this:
https://github.com/OGRECave/ogre/blob/d ... rld.h#L113
Shem
Halfling
Posts: 55
Joined: Fri Feb 16, 2018 9:32 am
x 8

Re: Movable Text in screen space

Post by Shem »

Once again Pavel comes to the rescue. You are an angle.

Thanks
Shem
Post Reply