> Hi,
>
> I've been toying with Sun's new OrbitBehavior and have a question
> regarding how it tracks translation of the view. Currently this is
> stored by "xtrans" and "ytrans" which are updated as the mouse is
> dragged. If the user changes the center of rotation, however, xtrans
> and ytrans are not updated and the view will automatically snap to be
> centered on the center of rotation. While this is sometimes desired,
> it if often not.
> Is there an easy way to recover xtrans and ytrans from the view
> transform that will not be susceptable to the BadTransform3D bug?
I'm not sure I understand what you are asking for. But I can describe
to you what is happening. When you set the rotation center, none of the
transforms are updated until the mouse moves again. The view's
translation is being stored in the xtrans and ytrans variables. When
the transforms are integrated, the translation is calculated based on
the current rotation center. What behavior are you looking for?
andrea
===========================================================================
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".