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".
signature.asc
Description: This is a digitally signed message part