> From: Clara Dinh <[EMAIL PROTECTED]>
> correct me if I'm wrong, doesn't Billboard only solve the problem
> of the label being backwards? After reading the API and other docs, I didn't
> think
> that Billboards had the capability to make sure an object was always right
> side up as well as facing the viewer.
Check out the ROTATE_ABOUT_POINT mode with either a Billboard or
OrientedShape3D. It has the property you are after: the +y axis of the text is
kept aligned with the +y axis of the view, so the text is always right side up.
Combine this with the basic billboard property of aligning the +z axis if the
text with the eye vector, and you'll find that the text is always the way you
want it.
BTW, you don't need to worry about the text being backwards (i.e. being flipped
along the x axis so that the text +x axis aligns with the view -x axis), since
that transformation would require -1 scaling along the x axis and the billboard
transform is rotation only. +z out and +y up implies +x is to the right as long
as there are no negative scales in the transformation.
Doug Gehringer
Sun Micorystems
===========================================================================
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".