How can I put text into 3d world ,just like a movable object

Anything and everything that's related to OGRE or the wider graphics field that doesn't fit into the other forums.
Post Reply
Posts: 53
Joined: Sun Feb 20, 2005 10:55 am

How can I put text into 3d world ,just like a movable object

Post by OliverWPZ »

If you love something...set it free...if back: it`s yours...or:it`s never

User avatar
Posts: 335
Joined: Sat Mar 01, 2003 11:21 pm
Location: Idaho, USA

Post by neocryptek »

Please search!

One option is the MovableText class by cTh.

Which allows you to render _simple_ text you can move around with scene nodes.

Latest version in cvs...

MovableText.h* ... ableText.h
MovableText.cpp* ... leText.cpp

It is part of the DSISceneViewer addon in ogreaddons, though it can be used separately.


Action Farsi
Posts: 9
Joined: Thu Mar 31, 2005 7:51 am

Post by Action Farsi »

Nice features, and I have a question..

Why is the MoveableText rendered even if it is not attached to any SceneNode, but it's just created (with "new" command)?

User avatar
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 1365
Joined: Tue Sep 07, 2004 12:43 pm
Location: Aalborg, Denmark

Post by DWORD »

Are you sure it's rendered if not attached to a scene node? Looking through the source from the links above, I see nothing that should make it render without being attached. :?

User avatar
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 4011
Joined: Fri Sep 19, 2003 6:28 pm
Location: Burgos, Spain
x 2

Post by Kencho »

As far as I know, you can't render something that's not attached to a scene node unless you manually pass it to the render system (I'm not sure if it was the render system).

Post Reply