11 reputation
1
bio website
location
age
visits member for 1 year, 9 months
seen Aug 8 '12 at 10:30

Jul
30
comment Quaternions - how to limit axis?
Thanks a lot for help, your;s post is a solution.
Jul
25
comment Quaternions - how to limit axis?
I get the quaternion from axis and angle<br> var angle = Math.acos( _rotateStart.dot( _rotateEnd ) / _rotateStart.length() / _rotateEnd.length() );<br> var axis = ( new THREE.Vector3() ).cross( _rotateStart, _rotateEnd ).normalize();<br> quaternion.setFromAxisAngle( axis, -angle );<br> <br> Quat angle is perpendicular to the camera's lookat and view is still rolling, when I try to set axis perpendicular to lookat alghoritm crashes.<br> Thank's for link, now I better understand trackball concept, but still I don't know how to solve my problem with rolling. Please write more.
Jul
25
awarded  Student
Jul
25
comment Quaternions - how to limit axis?
It's simply to make it when key is pressed, but problem is how to do it with mouse controller.
Jul
25
asked Quaternions - how to limit axis?