> -----Original Message-----
> From: Joachim Diepstraten
> [mailto:[EMAIL PROTECTED]]
> Sent: Montag, 10. Juni 2002 10:57
> To: [EMAIL PROTECTED]
> Subject: Re: [JAVA3D] Text on spheres
>
>
> Hi
>
> > Can somebody tell me how I can make spheres with text on
> them in Java3D? Do I have to use textures, or is it possible
> to use text2D objects and how?
> > Thanks in advance,
>
> The most easiest way is to use textures. (You can use the automatic
> texture coord generation by setting the Mode to
> TexCoordGeneration.SPHERE)
> Text2D is basically a texture too mapped on a quaditeral.
>

that's right, you can get the texture easily with
Text2D.getAppearance().getTexture()
and then map it onto your object

or have a look at the source code for Text2D to see how the texture is
created

-- Peter

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to