Page 1 of 1

ITextSceneNode visible through walls

Posted: Sat Jul 16, 2005 12:10 am
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

Posted: Sat Jul 16, 2005 9:05 am
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.

Posted: Sat Jul 16, 2005 10:18 am
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 ...

Posted: Sat Jul 16, 2005 1:36 pm
by _Dum0nde
Ok, I'll try render to texture then.

Thanks!

Posted: Sat Jul 16, 2005 4:08 pm
by pr3t3nd3r_guest
Not realy .... i dont belive is working too .... i think only 3d nodes are capable of that ... not sure ...