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
OliverWPZ
Halfling
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 »

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

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

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
http://cvs.sourceforge.net/viewcvs.py/* ... ableText.h
MovableText.cpp
http://cvs.sourceforge.net/viewcvs.py/* ... leText.cpp

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

-N30

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

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
DWORD
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 1365
Joined: Tue Sep 07, 2004 12:43 pm
Location: Aalborg, Denmark
Contact:

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
Kencho
OGRE Retired Moderator
OGRE Retired Moderator
Posts: 4011
Joined: Fri Sep 19, 2003 6:28 pm
Location: Burgos, Spain
x 2
Contact:

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).
Image

Post Reply