To scale the virtual world, how do I update the objRoot continously (i.e
adding child to the branchgroup) since the zoom is a mouseDragged event? Do
I need to repeatedly attach the detach the branchgroup in the mouseDragged
event?


Jasmine Kwok




----- Original Message -----
From: "Mark Hood" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, March 12, 2003 12:10 PM
Subject: Re: [JAVA3D] Zoom method for parallel & perspective proj.


> > Date:         Wed, 12 Mar 2003 11:43:18 +1000
> > From: Jasmine Kwok <[EMAIL PROTECTED]>
> >
> > But apparently, I need to have a single  method to do the zooming for
> > both projections.
>
> The only other way is to scale the virtual world larger using a
> Transform3D on the content side of the scene graph.  Make sure you set
> the scaling centroid to the center of your object of interest so that it
> doesn't move away.
>
> -- 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".
>

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