You're asking for a lot.  If your application requires fast live text (the equivalent of a scrollable text area that you could edit?) then I would guess your only hope (in January 2002) would be to build your own CAD-type drafting font out of some sort of LineArray and make up a Geometry to represent the text on the fly.  A TransformGroup gets you the scrolling.  Maybe you could get some node picking behavior to let you manipulate the text with a mouse.  It might not be very pretty, but it should be faster and smaller than the standard fonts.
 
When you say that the 'time to load long text is not acceptable', I assume you're referring to large textures.  If you have too much text to load as raw text, then you do, indeed, have a problem. 
 
On second thought, it sounds like it might be fun.
 
Fred Klingener
  
----- Original Message -----
From: xhsun
Sent: Saturday, January 12, 2002 10:28 PM
Subject: [JAVA3D] ask help for display long text on an 3D object

Sorry for the unclear of my last message. I need to display large amout of text on the surface of an object as part of the scene, which is different from text overlay. Read from the previous archive, there is an example using textured quad, but that's actually similar to Text2D and the time to load long text is not acceptable. Even though the computer can be fast enough to create the texture image from the text, what we get will be a big image but not sth like the Text area in Java with a scroll bar. Could someone tell me whether it is possible to create a Java Text area on top of an 3d object?
 
Thanks in advance.
 
xiaohua

Reply via email to