Text3D

Hello,



I'm new to jME, and I'm trying to learn some jME basic elements.

In my application, I would like to display flat 3D text on flat box with transparency like in the product topicscape:



http://www.topicscape.com/Topicscape-3D-mindmap-cone-heights-explained.php



Here my code:



Text3D texte = font.createText("Salut !", 50.0f, 0);

texte.setSolidColor(ColorRGBA.yellow);

texte.setLocalTranslation(new Vector3f(0, 0, 0));

texte.setLocalScale(new Vector3f(1, 1, 0.01f));



How can I put a flat tranparent box "under" my text?

Perhaps a Node with two children.



Also, where can I find a good tutorial on tranparency and texture in jME?



Thank you; :wink:



Bertrand.

If you want flat 3D text, then I don’t see the need to use 3D text.  :wink: Using text2d you should be able to place text onto a texture and apply that texture to a quad.

Thank you for your response!



About the texture, should I create a TextureState object and apply it to a Text2D object?  :?


  • Bertrand  :wink: