I have my "avatar" roaming the x-y plane, z being up.  When I set the
alignment axis to *nearly" the z-axis, this axis goes through all the
transforms to get it into eye coordinates... which is almost the y-axis
in eye coordinates.  I don't believe the alignment axis is relative to
the eye-coordinates or this wouldn't work.  I think the alignment axis
goes through all the transforms just like everything else in the scene.

For example, in *WORLD* coordinates my eye is looking along the +Y axis,
and my object is being rotated about the +Z axis.  In *EYE* coordinates
it would appear as though the object is rotating about the +Y axis.
Instead, it just disappears.  If I set it to rotate to *nearly* the +Z
axis in world coords, it works.  Why is this?

-Lee

-----Original Message-----
From: Doug Gehringer [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, September 19, 2000 2:03 PM
To: [EMAIL PROTECTED]
Subject: Re: [JAVA3D] Billboard using Z-axis


> I'm playing with using BillBoard... whenever I set the
>
>  bb.setAlignmentAxis(0f, 0f, 1f )
>
> to select the Z-axis, the object DISAPPEARS.

The alignment axis is relative to the eye.  The eye looks along the
Z-axis, so
that if you align to that the Billboard is always edge-on, which is why
it
disappears.

Doug Gehringer
Sun Microsystems

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

Reply via email to