Difference between revisions of "Techniques"
From Web3D.org
(Created page with "===How to convert=== TODO: the remaining section has extra information that can be integrated into the preceding sections. With a little more work, we can then combine the p...") |
m (wordsmithed the bullets here and there) |
||
Line 1: | Line 1: | ||
===How to convert=== | ===How to convert=== | ||
− | TODO: | + | TODO: this section has information that complements the preceding sections. |
− | + | We can combine the pieces to show corresponding animations in HAnim and BVH. | |
We can build an application program that uses these mappings. | We can build an application program that uses these mappings. | ||
* This conversion program operates off-line, not within an X3D scene, because X3D does not allow reading files. | * This conversion program operates off-line, not within an X3D scene, because X3D does not allow reading files. | ||
− | Wikipedia articles | + | Germane Wikipedia articles: |
* [http://en.wikipedia.org/wiki/Conversion_between_quaternions_and_Euler_angles Conversion between quaternions and Euler angles] | * [http://en.wikipedia.org/wiki/Conversion_between_quaternions_and_Euler_angles Conversion between quaternions and Euler angles] | ||
* [https://en.wikipedia.org/wiki/Rotation_formalisms_in_three_dimensions Rotation formalisms in three dimensions] | * [https://en.wikipedia.org/wiki/Rotation_formalisms_in_three_dimensions Rotation formalisms in three dimensions] |
Revision as of 17:49, 23 April 2014
How to convert
TODO: this section has information that complements the preceding sections.
We can combine the pieces to show corresponding animations in HAnim and BVH. We can build an application program that uses these mappings.
- This conversion program operates off-line, not within an X3D scene, because X3D does not allow reading files.
Germane Wikipedia articles:
- Conversion between quaternions and Euler angles
- Rotation formalisms in three dimensions
- 1.2 Euler axis and angle (rotation vector) matches the X3D SFRotation
- 2.2 Rotation matrix ↔ Euler axis/angle
It looks like choosing the right matrix operations will perform this conversion. This requires careful composition of rotation matrix operations.