Re: [JAVA3D] rotation of scene graph

1999-12-03 Thread Vladimir Olenin
I'm Very sorry!!! I confused MouseNavigator behavior with KeyNavigator one. It is the last that has a bug for sure. As to the former one, i'm not sure at all. Possibly everything just OK with it, possibly it has the same bug too. David has a nice tutorial where in all examples MouseNavigator class

Re: [JAVA3D] rotation of scene graph

1999-12-03 Thread Vladimir Olenin
Yes, i guess so. Or u can register listeners (like it's done in utils MouseNavigator or KeyNavigator) and translate the event to them. The latter way is more convenient and could be easily extended or reused. But certainly that depends on the goal. vladimir -=V=- >---<===

Re: [JAVA3D] rotation of scene graph

1999-12-02 Thread Dave Frost
Hi, I would be grateful for some pointers on this. The mouse behavior class has a method processStimulus(...) would i over ride this method and put the rotation in here, like when writing normal listeners ? Cheers Dave Vladimir Olenin wrote: > > Do u use that default MouseNavigator class in u

Re: [JAVA3D] rotation of scene graph

1999-12-01 Thread Vladimir Olenin
Do u use that default MouseNavigator class in util package? I guess u do. Don't. There is a bug there and as far as i can recall it, Doug posted some workaround here a couple of months ago. But anyway, u can handle MouseEvents yourself - just right the appropriate Behavior class. vladimir

[JAVA3D] rotation of scene graph

1999-11-30 Thread Dave Frost
Hi everyone, I have myself a scene, it is fine. I have added 3 mouse behaviours to it. to rotate, translate and zoom. The zoom and translate work fine, but the rotation behaviour just send s the scene straight out of the window. It does not appear to be rotating around the origin, which would