Corysia,
You could just compute the angle to the object that is being labelled
and translate your text (whatever kind of object you want to put it on)
a set distance in that direction (of course it would obscure anything
behind it).
- John Wright
Starfire Research
Corysia Taware wrote:
>
> I'm looking to find a way of displaying the name of an object.
> OrientedShape3D looks almost like what I'm looking for, but not quite. I
> don't want the text to diminish into the distance as the camera moves away
> from the object. Most of my objects (planets) will reach such extreme
> distances that they'll only be points in the distance and indistiguishable
> from the stars in the background.
>
> I've thought about obtaining the camera location and subtracting that from
> the object's and then using an overlay to display the text. But as the
> camera moves around, the location of the overlay will need to be updated. I
> could do this by observing my keyboard and mouse behaviors. But if there's
> already a way to do this using OrientedShape3D or a similar object, I'd like
> to use it.
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
> ===========================================================================
> 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".
===========================================================================
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".