ITextSceneNode visible through walls

You discovered a bug in the engine, and you are sure that it is not a problem of your code? Just post it in here. Please read the bug posting guidelines first.
Post Reply
_Dum0nde
Posts: 24
Joined: Thu Mar 17, 2005 3:26 pm

ITextSceneNode visible through walls

Post by _Dum0nde »

I'm not too sure if this can be considered a bug or if it's just how it's meant to be.

If I add billboard nodes in my scene, they disapear when hidden by a wall or something. If I add ITextSceneNodes, I would expect them to do the same thing (but they don't...). Is there a possible 'hack' for this (I know there is a setVisible(bool)...)

Thanks
niko
Site Admin
Posts: 1759
Joined: Fri Aug 22, 2003 4:44 am
Location: Vienna, Austria
Contact:

Post by niko »

The problem is that they are simply drawn as text after all other nodes, as 2D elements. No 3d drawing. There is no work around for this currently, sorry.
Pr3t3nd3r
Posts: 186
Joined: Tue Feb 08, 2005 6:02 pm
Location: Romania
Contact:

Post by Pr3t3nd3r »

GUI is 2d in front of all 3d ...
what you want is meybe render to texture or somethink ... make a simple small wall withe the texture if you don't want dinamic text ... or use more textures for the node if you want dinamic ...
_Dum0nde
Posts: 24
Joined: Thu Mar 17, 2005 3:26 pm

Post by _Dum0nde »

Ok, I'll try render to texture then.

Thanks!
pr3t3nd3r_guest

Post by pr3t3nd3r_guest »

Not realy .... i dont belive is working too .... i think only 3d nodes are capable of that ... not sure ...
Post Reply