from the View class API:
----------------------
Screen scale policy - specifies where the screen scale comes from. There are
two screen scale policies:

        SCALE_SCREEN_SIZE - specifies that the scale is derived from the
physical screen according to the
        following formula (this is the default mode):
            screenScale = physicalScreenWidth / 2.0

        SCALE_EXPLICIT - pecifies that the scale is taken directly from the
user-provided screenScale attribute
        (see the setScreenScale method description).
----------------------
setScreenScalePolicy

public void setScreenScalePolicy(int policy)

    Sets the screen scale policy for this view. This policy specifies how the
screen scale is derived. The value is either
    SCALE_SCREEN_SIZE or SCALE_EXPLICIT. A value of SCALE_SCREEN_SIZE specifies
that the scale is
    derived from the size of the physical screen. A value of SCALE_EXPLICIT
specifies that the scale is taken directly
    from the screenScale parameter. The default screen scale policy is
SCALE_SCREEN_SIZE.
    Parameters:
        policy - the new policy, one of SCALE_SCREEN_SIZE or SCALE_EXPLICIT.
----------------------
public void setScreenScale(double scale)

    Sets the screen scale value for this view. This is used when the screen
scale policy is SCALE_EXPLICIT. The
    default value is 1.0 (i.e., unscaled).
    Parameters:
        scale - the new screen scale

use these methods insead of setFieldOfView.

regards
Paul

ManChoon schrieb:

> Thanks Renoir & Paul, it works now as expected.
>
> However, the zooming effect was disabled.
> view.setFieldOfView(some double number) is not working anymore.
>
> Any idea, to have it work together?
>
> ===========================================================================
> 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