Take a look at the Raster class in Java3D.  You will make an "image" of
your text, then create a Raster.  Place the Raster in a Shape3D and then
under the TransformGroup of the item you want to annotate (perhaps give
it some offset in the constructor).

Haven't done this myself in Java3D, but I've done it plenty in OpenGL
and I believe that's exactly what this class is for, namely painting an
image in 2D at the 3D position.

-Lee

-----Original Message-----
From: Saurabh Akhauri [mailto:[EMAIL PROTECTED]]
Sent: Monday, March 12, 2001 11:43 PM
To: [EMAIL PROTECTED]
Subject: [JAVA3D] Annotation


I am trying to add 2D text as annotation to a 3D part.
If i add same behaviour to both and try to rotate the part, the text
also
rotates with the part and looks distorted/vanishes.

Is there some way by which the 2D text always remains at same plane
and adjusts its position relative to the 3D part's rotation /
translation / zoom
on the screen.

Basically i want to have behaviour of the 2D text effected by the
behaviour of 3D body.

saurabh

===========================================================================
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