3D text over head of Quake 2 model

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
rakkar
Posts: 19
Joined: Sun Aug 07, 2005 11:24 pm

3D text over head of Quake 2 model

Post by rakkar »

How would one go about displaying 3D text, positioned over the head of a Quake 2 model?
Eigen
Competition winner
Posts: 375
Joined: Fri Jan 27, 2006 2:01 pm
Location: Estonia
Contact:

Post by Eigen »

Code: Select all

virtual ITextSceneNode* irr::scene::ISceneManager::addTextSceneNode(
  gui::IGUIFont *  font,  
  const wchar_t *  text,
  video::SColor  color = video::SColor(100, 255, 255, 255),
  ISceneNode *  parent = 0,
  const core::vector3df &  position = core::vector3df(0, 0, 0),
  s32  id = -1 
 ) 
The text node should be parented to the node .. position should be core::vector3df(0, 10, 0) or something like that.
Acki
Posts: 3496
Joined: Tue Jun 29, 2004 12:04 am
Location: Nobody's Place (Venlo NL)
Contact:

Post by Acki »

maybe you want to use addBillboardTextSceneNode(...) !?!?! ;)
while(!asleep) sheep++;
IrrExtensions:Image
http://abusoft.g0dsoft.com
try Stendhal a MORPG written in Java
Eigen
Competition winner
Posts: 375
Joined: Fri Jan 27, 2006 2:01 pm
Location: Estonia
Contact:

Post by Eigen »

Oh, right.
rakkar
Posts: 19
Joined: Sun Aug 07, 2005 11:24 pm

Post by rakkar »

Thanks, Irrlicht is awesome :)
tempuser2
Posts: 5
Joined: Fri Apr 24, 2009 1:59 am

Post by tempuser2 »

I second that!
Post Reply