> Date:         Wed, 19 Feb 2003 10:07:50 +1000
> From: Jasmine Kwok <[EMAIL PROTECTED]>
>
> There are no messages from the JVM or exceptions that are thrown when the
> canvas hangs.

OK.  I should have looked at your code more closely first (the HTML makes it
very difficult to read though; try to post without using HTML)...

It looks like you're setting the scale with Transform3D.set(double).  This
wipes out the translation component of the transform, so you're effectively
scaling about the origin.  I'm not that familiar with the mouse behaviors, but
I believe they have a set notion of where the object is, and the set(double)
call is probably confusing its state since the call will move the object toward
or away from the origin.  So the behaviors are probably working fine, you just
can't see their effects.

Try Transform3D.setScale().  If that doesn't work, you'll need to find a
suitable center to scale about, and dive more deeply into the mouse behaviors
to see how to integrate that scaling centroid.  As I recall, the mouse
behaviors effect zooming by translation, so that may take a bit of work.

-- Mark Hood

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