Difference between revisions of "User:DavidJCobb"
Jump to navigation
Jump to search
m
Axis-angles done!
imported>DavidJCobb m (→Scratchpad) |
imported>DavidJCobb m (Axis-angles done!) |
||
Line 11: | Line 11: | ||
* My code appears to be able to reliably convert Skyrim Euler rotations to rotation matrices and back again. | * My code appears to be able to reliably convert Skyrim Euler rotations to rotation matrices and back again. | ||
* | * My code appears to be able to reliably convert rotation matrices to axis-angles and back again. | ||
* Conversion to quaternion appears to have the effect of rounding the rotation to the nearest 90* offset, which is disastrously inaccurate. | * Conversion to quaternion appears to have the effect of rounding the rotation to the nearest 90* offset, which is disastrously inaccurate. | ||
** Test: Euler (-> Matrix) -> Axis Angle -> Quaternion -> Axis Angle -> Matrix -> Euler | ** Test: Euler (-> Matrix) -> Axis Angle -> Quaternion -> Axis Angle -> Matrix -> Euler |