Re: [osg-users] 3-Axis rotation with quat & PAT

2010-01-22 Thread Jason Daly
J.P. Delport wrote: Hi, Thomas Simon wrote: Thanks for your interest and help The wiimotion plus gives 3 around-axis speeds which I transforme into angles the fact is that the pat keep turning around the OSG basic are you manually integrating the angular rates? If so, I'd also sugges

Re: [osg-users] 3-Axis rotation with quat & PAT

2010-01-21 Thread J.P. Delport
Hi, Thomas Simon wrote: Thanks for your interest and help The wiimotion plus gives 3 around-axis speeds which I transforme into angles the fact is that the pat keep turning around the OSG basic are you manually integrating the angular rates? If so, I'd also suggest looking at quaternions...

Re: [osg-users] 3-Axis rotation with quat & PAT

2010-01-21 Thread Paul Martz
Thomas Simon wrote: Thanks for your interest and help The wiimotion plus gives 3 around-axis speeds which I transforme into angles the fact is that the pat keep turning around the OSG basic axis and not in the wiimote basic axis. I also think that I got a gimbal lock :( I try a makeRotate wi

Re: [osg-users] 3-Axis rotation with quat & PAT

2010-01-21 Thread Thomas Simon
Thanks for your interest and help The wiimotion plus gives 3 around-axis speeds which I transforme into angles the fact is that the pat keep turning around the OSG basic axis and not in the wiimote basic axis. I also think that I got a gimbal lock :( I try a makeRotate with an old X-axis (for

Re: [osg-users] 3-Axis rotation with quat & PAT

2010-01-21 Thread Robert Osfield
Hi Thomas, I really not sure what the problem is. Is it simply that the Wiimote has a different orientation of X, Y, Z? Is it left or right hand rule? Either way this should be a straight forward issue of just setting up the rotations in the correct order, and if required adding an extra rotatio

Re: [osg-users] 3-Axis rotation with quat & PAT

2010-01-21 Thread Thomas Simon
Hi, There is my problem: I need to rotate a model on the 3 axis (X,Y and Z) I already have the angles corresponding of the rotation on the axis. I try differents methods to have a good result It doesnt follow the orientation of my Wiimote Motion plus (It s a project about manipulate a model loo