I ran into the same problem ...
Besides its annoying to have to attach a billboard behavior to each transform
you want
to be facing you (you end up with a lot threads hoging your CPU), so I came up
with a behavior which can control several TransformGroups at the same time.
The trick I use is to  put this behavior inside a MouseRotateBehavior, and each
time
the global universe rotates, I just take the inverse of the global rotation
Transform and
fed it in all the TransformGroup I want to be facing me ... in this way the
TransformGroups
are always parallel to the ImagePlate ... and its much more efficient also.

Frederic

John Brecht wrote:

> I am having a problem getting a Billboard to function correctly.  My world
> includes objects which may potentially be viewed from any angle (not just
> from the y-z plane.)  Occasionally I would like to display data about those
> objects using Text2D objects floating next to them.  I added a Billboard
> behavior to act upon the TransformGroup associated with such an object.  I
> though that if I specified that the Billboard should ROTATE_ABOUT_POINT that
> they would end up always facing the user.  This only works correctly if the
> user is in the y-z plane.  If the user moves up or down in the y direction,
> the Billboard does not tilt with them.  In fact, the Billboard rotates about
> it's y-axis, as though they'd moved in the x direction.
> Is their something fundamental that I'm missing here, or does
> ROTATE_ABOUT_POINT just not work, or at least not work in the way that I
> guessed it worked?  (Seeing as the API does leave you guessing about some
> things like this...  Source code ????)
>
> John Brecht
> Department of Physics and Astronomy
> Michigan State University
> brechtjoATpilotDOTmsuDOTedu
>
> =====================================================================
> To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
> Java 3D Home Page: http://java.sun.com/products/java-media/3D/

=====================================================================
To subscribe/unsubscribe, send mail to [EMAIL PROTECTED]
Java 3D Home Page: http://java.sun.com/products/java-media/3D/

Reply via email to