Euler to Quaternion

A wealth of applications with which you will need to mod Halo 2.
Post Reply
xxpenguinxx
Posts: 1974
Joined: Sun Jan 27, 2008 4:50 am

Euler to Quaternion

Post by xxpenguinxx »

What is it: Its a basic calculator that converts Euler to Quaternion rotations and back to Euler again.

For help on how to use it view Demonic's video, but use this app instead of the one he posted.
viewtopic.php?f=13&t=1132

I disabled the order because after some testing it seemed unneeded. If you have any problems with the app post them here.
Image

Image

EDIT: link updated
Attachments
Euler_to_Quaternion.zip
(11.15 KiB) Downloaded 407 times
Last edited by xxpenguinxx on Sun Jan 04, 2009 6:05 am, edited 2 times in total.
DemonicSandwich wrote:See that? You see that how it is highlighted down here but it's not highlighted right there? Ah, I guess that's what I get for pirating it.
In Soviet Russia, DS touches you. Say it again and I'll do more than touch. ~DS -Oh baby
A cat was licking itself to the sound of potato chips.
User avatar
Click16
Posts: 1941
Joined: Mon Dec 31, 2007 4:36 am
Location: United States

Re: Euler to Quaternion

Post by Click16 »

Nice it works correctly!
Image
xxpenguinxx
Posts: 1974
Joined: Sun Jan 27, 2008 4:50 am

Re: Euler to Quaternion

Post by xxpenguinxx »

I added a second tab for calculating from quaternion to Euler. I also modified to UI.
DemonicSandwich wrote:See that? You see that how it is highlighted down here but it's not highlighted right there? Ah, I guess that's what I get for pirating it.
In Soviet Russia, DS touches you. Say it again and I'll do more than touch. ~DS -Oh baby
A cat was licking itself to the sound of potato chips.
User avatar
Click16
Posts: 1941
Joined: Mon Dec 31, 2007 4:36 am
Location: United States

Re: Euler to Quaternion

Post by Click16 »

YES! nice this works too
Image
User avatar
DoorM4n
Posts: 2154
Joined: Sun Dec 09, 2007 3:01 am
Location: Houston

Re: Euler to Quaternion

Post by DoorM4n »

I want to convert Flazgutts in Nilars. How do I do that...? :XD:


Ignore that...^^
Very cool app.
Image
Remnant! We were the last stand.
User avatar
Grimdoomer
Admin
Posts: 1835
Joined: Sun Dec 09, 2007 9:09 pm

Re: Euler to Quaternion

Post by Grimdoomer »

This can't handle large float numbers, and half the time Z is just Nan.
Don't snort the magic, we need it for the network.
xxpenguinxx
Posts: 1974
Joined: Sun Jan 27, 2008 4:50 am

Re: Euler to Quaternion

Post by xxpenguinxx »

Grimdoomer wrote:This can't handle large float numbers, and half the time Z is just Nan.
I'm redoing it, I think I fixed it but for some reason it doesn't always give the correct +/- (forgot the word).

I was looking through some formulas and using other calculators and every one gives a different answer.
DemonicSandwich wrote:See that? You see that how it is highlighted down here but it's not highlighted right there? Ah, I guess that's what I get for pirating it.
In Soviet Russia, DS touches you. Say it again and I'll do more than touch. ~DS -Oh baby
A cat was licking itself to the sound of potato chips.
User avatar
JacksonCougar
Huurcat
Posts: 2460
Joined: Thu Dec 06, 2007 11:30 pm
Location: Somewhere in Canada

Re: Euler to Quaternion

Post by JacksonCougar »

Probably because they can have multiple solutions, and you have to properly handle the polar anomalies.
Post Reply