> Date:         Tue, 31 Jul 2001 16:38:42 +0200
> From: matthias sweertvaegher <[EMAIL PROTECTED]>
>
> I want my viewport to resize when I resize my window ie I want to use the
> virtual world viewport policy.  However when I set it, nothing changes.  for
> example, i toke the hellouniverse example and added the following line
> u.getViewer().getView().setWindowResizePolicy(View.VIRTUAL_WORLD);

Unfortunately, there are undocumented dependencies between the resize,
movement, and eyepoint policies.

To get the effect you want, you need to call both View.setWindowResizePolicy()
and View.setWindowMovementPolicy() with View.VIRTUAL_WORLD, and call
View.setWindowEyepointPolicy() with View.RELATIVE_TO_SCREEN.

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