Hi,
I've been playing with the ViewPlatform's and have created a VIRTUAL_WORLD
viewPlatform using the following
private static View createView()
{
View myView = new View();
myView.setViewPolicy(View.SCREEN_VIEW);
myView.setWindowResizePolicy(View.VIRTUAL_WORLD);
myView.setWindowMovementPolicy(View.VIRTUAL_WORLD);
myView.setWindowEyepointPolicy(View.RELATIVE_TO_SCREEN);
myView.setTrackingEnable(false);
myView.setPhysicalBody(new PhysicalBody());
myView.setPhysicalEnvironment(new PhysicalEnvironment());
return myView;
}
However, when I move the window on the screen, it doesn't always update
straight away. If I lose the windows focus, then bring it back, the window
updates, or if I update the window by using a mouse behaviour, the windows
updates (by update, I mean the object 'jumps' to it's relative position).
Is there a way to make the window update automatically without having to
create an event, or I am I missing some parameter somewhere?
Any ideas would be appreciated.
Cheers
Sky Rumsey
===========================================================================
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".