Hi im a newbie to Xith3D and im having a little trouble getting the view position to rotate properly.
I modified the mouseInteraction demo to change the view transform parameters like so, with rotX and rotY
being the mouse coords.
view.getTransform().lookAt( new Vector3f( rotX, rotY, 3), // location of eye
new Vector3f( 0, 0, 0), // center of view
new Vector3f( 0, 1, 0)); // vector pointing up
It is working but strangley, and im sure my lack of knowlege of graphis bascis has a lot to do with
why i don’t know why. The view rotates fine for a few degrees and then the rotation begins to
slow down exponetially and also push away from cube the more i drag.
If someone could enlighten me as to why, or if im going about rotating the view the wrong way (as there is nothing about it in
either the Xith getting started guide or any of the Java3D Docs)
P.S. any pointers to good arcticles or tutorials would be most appretiated.
thanks

For example what needs to be called in the render loop to move the view to make it dynamic rather than static as it is in the tutorials using lookAt().