You might want to take a look at "3D User Interfaces with Java 3D"
chapters 5 and 6, which discuss callouts/tooltips and visual attributes
for them in 3D, chapter 20, which describes how to construct a basic
callout from a transparent texture, and chapter 21, which describes how
to make the callout display-facing, constant-size, and display overlaid.

--jon


> Subject:
>         Re: Annotation
>    Date:
>         Tue, 13 Mar 2001 07:24:13 -0500
>    From:
>         "J. Lee Dixon" <[EMAIL PROTECTED]>
>
>
>
> 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

__________________ JMB and Associates, Inc. ___________________
Jon Barrilleaux      3800 Lake Shore Ave.     Consulting for 3D
[EMAIL PROTECTED]       Oakland, CA 94610        Web Applications
510.444.0231 vox                                & Tech Industry
510.444.0231 fax       www.jmbaai.com                Management

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