quaternions
Still seem to have a gimbal-lock using quaternions
I maintain the position of an object using a reference quaternion ... I rotate a reference quaternion from 2D x-y touch swipes using the following code ...[详细]
2023-03-08 21:12 分类:问答Quaternion Comparison?
Is quaternion comparison possible? I\'m writing a Java class of Quaternions and I want to implement the Comparable interface to use the Collections.sort(List<Quaternion>) facility. I\'m not expe[详细]
2023-03-01 13:40 分类:问答Extracting Yaw from a Quaternion
I have a rotation quaternion and want to extract the angle of rotation about the Up axis (the yaw). I am using XNA and as far as I can tell there is no inbuilt function for this. What is the best way[详细]
2023-02-28 20:27 分类:问答Longitude / Latitude to quaternion
I\'ve got a longitude and latitude and want to convert this to a qu开发者_如何转开发aternion and wondering how I can do this? I want to use this, because I\'ve got an app which projects the earth on a[详细]
2023-02-19 15:49 分类:问答How do I modify a quaternion such that the Euler rotation on one axis is zero?
I\'ve got two nodes, and I know the rotation of only one of them. I want to apply the rotation of node 1 to nod开发者_如何学Ce 2, but with one axis zeroed out (in Euler terms).[详细]
2023-02-17 00:29 分类:问答Quaternions still have gimbal lock
Instead of Euler angles I moved to Quaternions to represent and process the rotation of a cube in 3D. Although it would solve gimbal lock, I\'m still experiencing this issue.[详细]
2023-02-16 14:20 分类:问答Nearest Neighbours using Quaternions
Given a quaternion value, I开发者_开发技巧 would like to find its nearest neighbour in a set of quaternions. To do this, I clearly need a way to compare the \"distance\" between two quaternions. What[详细]
2023-02-08 17:58 分类:问答Quaternion cube rotation animation
I created this Rubiks Cube with Papervison3D. With some resources I created a Cube with 27 minicubes inside (3*3*3 = 27). Rotating the Rubiks Cube on mouse move is already done. (I do not rotate the c[详细]
2023-02-04 20:45 分类:问答Convert a Unit Vector to a Quaternion
So I\'m very new to quaternions, but I understand the basics of how to manipulate stuff with them.What I\'m currently trying to do is compare a known quaternion to two absolute points in space.I\'m ho[详细]
2023-02-03 18:36 分类:问答Overhead of using classes for matrix of algebraic structures in C++
I am using C++ to code some complicated FFT algorithm, so I need to implement such algebraic structures as quaternions and Hamilton-Eisenstein codes. Algorithm works with 2D array of that structures.[详细]
2023-02-01 05:50 分类:问答