Hello Doug,

thanx for the fast reply !

And yes, you are right: the best thing would be, if the translation, rotation and zoom
would work around the origin...
(Maybe with an extra "controlgroup" attached to the browserGroup ?)

Again, thanx & have a nice day

-Juergen.



Doug Gehringer schrieb:

> > From: Juergen Neubauer <[EMAIL PROTECTED]>
> > using the Vrml97Viewer from the examples that came with the
> > vj3d0.90.2.src [...]
> >
> > My question is about the navigation in the examine-mode.
> > Is it somehow possible to separate the navigation from the object view ?
> >
> > The problem:
> > The zoom is always along the z-axis of the object, not along the actual
> > view-axis.
> > (So, if the object is rotated or looked at from the x-axis, the zoom is
> > still along the z-axis...)
>
> The problem here is that MouseZoom is really MouseTranslateZ.  That is,
> MouseTranslate does XY translation and MouseZoom does Z translation, which makes
> the object larger or smaller in a perspective view aligned with the Z axis.
>
> The fix is to replace the MouseZoom behavior with a MouseScale behavior.
> Attached below is a start.  It still isn't perfect, since the object is not
> scaled/rotated around the origin, but its better than the MouseZoom behavior.
>
> I'll see if I can improve on this sometime soon,
>
> Doug Gehringer
> Sun Microsystems
>

...snip...

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