|
| 10 Apr 2012 07:56 AM |
Can someone please explain quaternions to me?
Cuz i dont understand them at all because stupid tutorials dont have enough pictures but instead have these huge grids of matrix math that contains complex numbers and stoof.
From what ive read, i think theyre like axis-angle, except that you need to multiply stuff with random trigonometry thingies to get the axis angle into a quaternion (and back?)
plz. |
|
|
| Report Abuse |
|
|
pighead10
|
  |
| Joined: 03 May 2009 |
| Total Posts: 10341 |
|
|
| 10 Apr 2012 08:15 AM |
| from what I've heard no one in the history of the planet actually knows what quaternions are |
|
|
| Report Abuse |
|
|
|
| 10 Apr 2012 08:21 AM |
I think i understood them a bit more by reading wikipedia.
>implying its possible to understand something better using wikipedia instead of random tutorials
Basically,
theyre liek, points on variable sized spheres, where the sphere is like a circle inside a sphere, except in 4D (in 3D, the "height" and thus the radio of the circle inside the sphere would determine the angle of rotation around da axis)
So as it rotation goes around, the spheres radius changes liek sin waves or watever do. k? I think it went like, when the sphere is at max radius, its 180 degrees, than the sin wave thingy or watever starts going smaller again and it starts becoming 360 degrees (wut)
And thus,
Quaternions are pulsing slices of a hypersphere with a point on their surface.
Simple as that. |
|
|
| Report Abuse |
|
|
|
| 10 Apr 2012 08:22 AM |
| Though i didnt bother figuring out the conversion between a matrix and a quaternion, though it looked just like a few multiplications and subtractions/additions |
|
|
| Report Abuse |
|
|
pighead10
|
  |
| Joined: 03 May 2009 |
| Total Posts: 10341 |
|
|
| 10 Apr 2012 09:18 AM |
| From my experience you don't need to "learn" quaternions, just work out specific uses for it when you need to. Like javascript. |
|
|
| Report Abuse |
|
|
|
| 10 Apr 2012 09:24 AM |
| Put i want to know about how they work so i can code tham after 6 months when im done with my matrix class. |
|
|
| Report Abuse |
|
|
pighead10
|
  |
| Joined: 03 May 2009 |
| Total Posts: 10341 |
|
|
| 10 Apr 2012 10:00 AM |
| copy existing quaternion classes? |
|
|
| Report Abuse |
|
|
| |
|
Valone
|
  |
| Joined: 08 Feb 2012 |
| Total Posts: 4371 |
|
|
| 10 Apr 2012 10:43 AM |
You know, on Wikipedia, some of the pages are written in a simple language. I think you switch www with simple Can't remember though :/ May help.
☜▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬☜☆☞▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬☞ -Valone 32nd Empress of Unit 32. Join; http://www.roblox.com/My/Groups.aspx?gid=520434 |
|
|
| Report Abuse |
|
|
|
| 10 Apr 2012 10:51 AM |
Nope.
English page had good representation tho. |
|
|
| Report Abuse |
|
|
Valone
|
  |
| Joined: 08 Feb 2012 |
| Total Posts: 4371 |
|
|
| 10 Apr 2012 11:04 AM |
Couldn't understand it, switched to the Polish page so I could understand a lot more of the words.
The maths on that page is far better. Chrome will translate it if you need to as well. Check it out. |
|
|
| Report Abuse |
|
|
su8
|
  |
| Joined: 06 Mar 2009 |
| Total Posts: 6334 |
|
| |
|
Valone
|
  |
| Joined: 08 Feb 2012 |
| Total Posts: 4371 |
|
|
| 10 Apr 2012 11:08 AM |
| Not my fault I speak Polish :) |
|
|
| Report Abuse |
|
|
HotThoth
|
  |
 |
| Joined: 24 Aug 2010 |
| Total Posts: 1176 |
|
|
| 10 Apr 2012 04:19 PM |
| For the most part, just think of a quaternion (s, x, y, z) as a rotation. Any rotation can be expressed by two things, the amount of the rotation, and the axis to rotate around. [x, y, z] is the axis to rotate around, and s tells us the amount to rotate (it ends up being something like 2arccos(s) in order to get the quaternion math to work out nicely, but the important thing is that we get the "amount" information from that s parameter). |
|
|
| Report Abuse |
|
|