Draw text in 3d plane?

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
yoes_san
Posts: 9
Joined: Mon Dec 11, 2006 7:22 am

Draw text in 3d plane?

Post by yoes_san »

I want to make a scene in 3d that show various models which have some text floating over them. And no matter how user rotate the camera, the text will be readable.

I see from 2DGraphics tutorial of how to write text in 2d plane, but is it
possible to write it in 3d plane ?

Or I have to load and show text as a sprite ?
Phant0m51
Posts: 106
Joined: Mon Jan 15, 2007 6:07 am

Post by Phant0m51 »

You're looking for a Billboard Scene Node. Take a look at the Collision tutorial (it's your pointer on the screen), and look at the documentation.
rogerborg
Admin
Posts: 3590
Joined: Mon Oct 09, 2006 9:36 am
Location: Scotland - gonnae no slag aff mah Engleesh
Contact:

Post by rogerborg »

More likely the ITextSceneNode.
Please upload candidate patches to the tracker.
Need help now? IRC to #irrlicht on irc.freenode.net
How To Ask Questions The Smart Way
yoes_san
Posts: 9
Joined: Mon Dec 11, 2006 7:22 am

Post by yoes_san »

Thanks, I take a look a both suggestions and ITextSceneNode works fine for me.
Post Reply