but it displays the text on the screen but i want to place the text on the model...but i dont know what to do can anyone help me?
Thanks in advance.
Last edited by MasterM on Sun Nov 23, 2008 4:41 pm, edited 1 time in total.
C++ is not the Magdalena...it takes patience...shes like the well aged prostitute, it takes years to learn her tricks! she is cruel...laughs at you when you are naked...
Life of a programmer == Const abuse
No no, not on the texture i mean like make a text and place it infront of the model like this for example notice how the cube text is infront of the man model...how do i make a text apear infront of a model like that?
C++ is not the Magdalena...it takes patience...shes like the well aged prostitute, it takes years to learn her tricks! she is cruel...laughs at you when you are naked...
Life of a programmer == Const abuse
In case your model is also drawn with 2d methods or GUI elements you can just aling the positions. If you want to do this for 3d models, you have to use a 3d text node. Best option is the TextBillboardSceneNode, which you can simply parent to the model and the text will move together with the model.
But i dont see nothing, what am i doing wrong(i never used this function before so i may be doing something horribly wrong)
Thanks in advance.
C++ is not the Magdalena...it takes patience...shes like the well aged prostitute, it takes years to learn her tricks! she is cruel...laughs at you when you are naked...
Life of a programmer == Const abuse
The documentation provided doesn't say this, but that method will do nothing if the font parameter is NULL. You should also pass your scene node pointer as the third parameter. That way the text will move with the mesh.
The following code should get something to appear on your screen...
The documentation provided doesn't say this, but that method will do nothing if the font parameter is NULL. You should also pass your scene node pointer as the third parameter. That way the text will move with the mesh
Thanks, i figure it had something to do with the font tho but did not know how fonts work(until now).
Well i did a test and this is what i got :
its good and all but does anyone know how to make the text transparent(the black parts)
Thanks in advance.
C++ is not the Magdalena...it takes patience...shes like the well aged prostitute, it takes years to learn her tricks! she is cruel...laughs at you when you are naked...
Life of a programmer == Const abuse
Can someone help me with this, i been trying and trying and still no results.
C++ is not the Magdalena...it takes patience...shes like the well aged prostitute, it takes years to learn her tricks! she is cruel...laughs at you when you are naked...
Life of a programmer == Const abuse
Stupid me, i forgot to change my device type to OPENGL (it was software)
No wonder, i was starting to get blue when the error was right there.
Thank you very much.
C++ is not the Magdalena...it takes patience...shes like the well aged prostitute, it takes years to learn her tricks! she is cruel...laughs at you when you are naked...
Life of a programmer == Const abuse