Since my reply to Matthew has bounce back, I'll reply to you two at the
same time.  The solution you propose is unfortunately impracticable for the
application I work on since the j3d scene would have to be printed and we
need a high resolution printing.  Labels will look badly if scaled too much
that's why I need to generate them directly at the right size.  

        Thank you for replying,
        Stephane

At 01:18 PM 4/27/99 -0500, Dennis J Bouvier wrote:
>As Matthew has suggested, you can generate the texture using a smaller
>point.  Once this is done, you can scale the object up, or you can use
>the texture on any object.
>
>Text2D has a setRectangleScale(float) method, but it seems not to do
>anything.  I think is it meant to address this type of problem.
>
>Since Text2D is a Shape3D object, you can use getAppearance() to get
>the Appearance NodeComponent with the Texture.   Once you have the
>Appearance, you can use it for other objects.
>
>A simple example:
>
>       Text2D text2d = new Text2D( .........);
>
>       Appearance textAppear = text2D.getAppearance();
>
>       Shape3D newTextShape = new Shape3D(someGeometry, textAppear);
>       objRoot.addChild(newTextShape);
>

=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/

Reply via email to