Hi Andrea,
That's fantastic news! Should simplify my life greatly. When do you anticipate the
next release?
josh
>>> [EMAIL PROTECTED] 01/10/01 04:21PM >>>
Josh,
There is a new package that will be in the upcoming 1.2.1 beta2 release
called com.sun.j3d.utils.behaviors.vp which will include a new abstract
class, ViewPlatformBehavior, to model behaviors on the ViewPlatform.
The package will also include an example implementation of this
interface, OrbitBehavior, that moves the view around a center of
rotation.
andrea
java 3d dev team
Josh Richmond wrote:
>
> Hi everyone,
>
> I've been struggling trying to write a good orbit behaviour (i.e, move the view
>transform in response to mouse movement such that it appears as though the scene is
>rotating around an arbitrary point in the scene). I know this must be common code
>since many 3D viewers have, yet I can't find any sample code to implement it.
>
> I also tried the arcball concept, but it seems to require the center of rotation to
>be on the screen (unless I implemented it incorrectly).
>
> Most of my attempts work fine when the camera's frame is mostly aligned with the
>world frame, but the mapping gets ruined after a lot of manipulation.
>
> Can anyone point me to some sample code or at least a good reference on how to
>implement this?
>
> Thanks!
> josh
>
> ===========================================================================
> 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".
===========================================================================
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".