Maybe what I saying is to related to your problem, but I've faced some slowdown on mouse events due bugs in video driver. A video driver update solved it.
And I use hardware mouse cursor in my linux with Nvidia vcard, otherwise the mouse blinks and disappears when over 3D windows.
I've heard ATI must use software mouse instead.
Nicholas Pappas <[EMAIL PROTECTED]> wrote:
Nicholas Pappas <[EMAIL PROTECTED]> wrote:
Hello all.
I have a very simply BranchGroup, with a ColorSphere, and a MouseRotate
even listener. When I start the program up everything work, but when I
move the mouse the object is *very* jerky in its movements.
Is this possibly the result of something I did, or didn't, do? Is it
just because the USB mouse is firing events so quickly that the rotation
jerks? The second seems a little less likely.
Here is my function creating the scene... nothing overly special.
"scene" is added to the SimpleUniverse after this is called.
public void createSceneGraph(SimpleUniverse u) {
scene = new BranchGroup();
/** create a simple Shape3D node; add it to the scene graph */
scene.addChild(new ColorCube(0.4));
TransformGroup objTrans =
u.getViewingPlatform().getViewPlatformTransform();
//KeyNavigatorBehavior keyNav = new
KeyNavigatorBehavior(u.getViewingPlatform().getViewPlatformTransform());
KeyNavigatorBehavior keyNav = new KeyNavigatorBehavior(objTrans);
keyNav.setSchedulingBounds(new BoundingSphere(new Point3d(),
1000.0));
scene.addChild(keyNav);
MouseRotate mouseRot = new MouseRotate(objTrans);
mouseRot.setSchedulingBounds(new BoundingSphere(new Point3d(),
1000.0));
scene.addChild(mouseRot);
scene.compile();
}
===========================================================================
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".
> ATTACHMENT part 2 application/pgp-signature name=signature.asc
Yahoo! Acesso Grátis - Internet rápida e grátis. Instale o discador agora! =========================================================================== 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".