-----Original Message-----
From: Doug Gehringer <[EMAIL PROTECTED]>
To: [EMAIL PROTECTED] <[EMAIL PROTECTED]>
Date: Tuesday, October 26, 1999 7:02 PM
Subject: Re: [JAVA3D] Magnifying a view
...
>> In a possibly related question, what do the scale components of the
>> ViewingPlatform transform mean?
>
>Two other ways of changing the scaling of a scene are to use a scaling
transform
>above the object, making the object bigger or smaller in VWorld coords; or
to
>use a scaling transform above the ViewPlatform, making the virtual observer
>bigger or smaller in VWorld coords.  Note that changes to to the local to
VWorld
>transform for the ViewPlatform have the opposite effect as changing the
tranform
>on the object: scaling by 1/10 on the ViewPlatform makes the object appear
10x
>bigger.


Before my question, when I modified the scale of the transform in
ViewingPlatform, it didn't change the apparent size, but it did _allow_ the
apparent size to be increased via navigation. It was as if the apparent size
had been increased, but the apparent distance of the viewer from the scene
had also been increased, so that exactly the same portion of the view was
shown before and after.

I changed the scale in a subclass of ViewingPlatform via:

    Transform3D transform = new Transform3D();
    this.getViewPlatformTransform().getTransform( transform );
    transform.setScale( transform.getScale() * (1 / factor) );

Have I changed the scale incorrectly?

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