Rodrigues' rotation formula (Axis-angle rotation)

  Рет қаралды 21,220

EgoMoose

EgoMoose

Күн бұрын

In this video I cover the math behind Rodrigues' rotation formula which is a mathematical formula we can use to rotate vectors around any axis. This is a great primer video for quaternions or a good practical application of things like the dot and cross product. Hope you enjoyed!
Link to place file:
github.com/EgoMoose/ExampleDu...

Пікірлер: 21
@jdskale
@jdskale 8 жыл бұрын
Cool, thanks for the upload.
@Imaver
@Imaver 6 жыл бұрын
Hey man, thanks a lot - it was really useful.
@Crusadex1995
@Crusadex1995 3 жыл бұрын
Thanks! This helped me with my assignment!
@azadroxo
@azadroxo 3 жыл бұрын
This helped me a lot in my uni project
@myelinsheathxd
@myelinsheathxd 3 жыл бұрын
Amazing!
@srinathkumar1452
@srinathkumar1452 8 жыл бұрын
Nice video, thanks
@wedemier
@wedemier 5 жыл бұрын
This was a very good video
@shubhamkapoor007
@shubhamkapoor007 7 жыл бұрын
THANKS A LOT
@jonathanlau9291
@jonathanlau9291 2 жыл бұрын
very well explained, thank you! And, just a few more than 30 views ;)
@meeharbin4205
@meeharbin4205 5 жыл бұрын
literally derived the formula yesterday thinking about how I'm gonna to camera stuff. At least I know i got it right and i didnt over complicate like i usually do when trying to derive something.
@linkunchen5906
@linkunchen5906 7 жыл бұрын
I am so confused at the beginning. because I don't know where you get the rotated vector. From the research I have (through google), it seems like the cos(theta)*Right is not the part as shown in the video ( horizontal green portion) it is the projection of the Right vector on the rotated green vector. and sin(theta) is the projection of the up vector onto the rotated green vector? can you please explain clearly to me? I am learning similar stuff on coursera but they didn't explain too detail on this. Thanks.
@EgoMoose
@EgoMoose 7 жыл бұрын
I'll do my best to explain, but what this really comes down to is trigonometry. What I'm about to explain I was never personally taught in school, but maybe you had better teachers than me ¯\_(ツ)_/¯. Right, so depending on where in the world you are from you might have heard this mnemonic phrase for memorizing the definitions of the trigonometric functions sine, cosine, and tangent: SOH-CAH-TOA It stands for: SOH => Sine = Opposite/Hypotenuse CAH => Cosine = Adjacent/Hypotenuse TOA => Tangent = Opposite/Adjacent Now you may know this, but I didn't: Sine and cosine are actually percentages (trig values in general are). They can be from -100% to 100%. This might lead you to ask why? That's because absolute values in trig really don't have meaning to them. What do I mean by this? Say I told you I invested money in a bond and got $50 back. You have no idea if that was a good investment or not because I only told you the absolute return I got. Say instead I told you I got a 80% increase from my bond and you know I got a dope deal. It's the same with trig. We need a general way of being able to discern width, height, and other values. We do this via percentages. If I take my right triangle and scale all the lengths in it so that the hypotenuse is indexed with a length of one then my sine value represents the height of the triangle, and my cosine represents the width. / | 1 / | / | Sin(Θ) /Θ__| Cos(Θ) Try it out: Sin^2(Θ) + Cos^2(Θ) = 1 (based on Pythagorean theorem) Intuitively the mnemonic above should make sense then. We know we can find sine by taking any right triangle and dividing it's height (opposite) by it's hypotenuse to get the height of the triangle scaled to a unit circle. In a similar sense we can take the width (adjacent) and divide by the hypotenuse to get the cosine (width) of the triangle scaled to a unit circle. Hopefully, you can see that once we have the width and height in percentage form like this it is very easy to scale the triangle by adjusting the hypotenuse and working backwards to get an infinite number of similar triangles with different widths and heights (AKA the same angle). It also works a similar way. Given that we know the angle of the triangle we can find the percentage that the width and the height should be in a given right triangle. As such in the video above we are taking this concept and applying it to vectors in space. We already know the direction of the width (right vector) and the height (up vector) so we are simply scaling them with sine and cosine then adding together to find where the hypotenuse vector would be given an arbitrary angle. We just need to make sure that the right and up vector are the same length (magnitude) so that the radius of the circle we are tracing is consistent throughout. Hopefully that cleared things up, if not all I can suggest is trying to play around with it on geogebra or something.
@dylantuw8500
@dylantuw8500 5 жыл бұрын
nice.... i am planning to implement it using excel though... got scared by the programming language part...
@robertcruikshank4501
@robertcruikshank4501 4 жыл бұрын
Good video, but you might want to cut out clips of 2-10 seconds where you're deciding what to name something, or otherwise pausing.
@finnyinc9841
@finnyinc9841 2 жыл бұрын
I THOUGHT I WAS THE ONLY ONE THAT USED ROBLOX STUDIO FOR MATH PROBLEMS
@Cpolompijdidvv
@Cpolompijdidvv 4 ай бұрын
The s is not pronounced at the end of Rodrigues.
@jacobvandijk6525
@jacobvandijk6525 4 жыл бұрын
The basic stuff has left ya! Who said it was a unit-circle (after 2:10)? Put in some R's next time :-(
@proveryourpoint_8554
@proveryourpoint_8554 5 жыл бұрын
awesome video but 14:22 LMAO. You realize you can edit the video after you record it right? :)
@pureskill03
@pureskill03 2 жыл бұрын
ego hi
@andreyblack2558
@andreyblack2558 4 жыл бұрын
I think what length of cross(N,R) not should to be equal to r, but ||n||=1, ||r||=r, and angle between them 90. sin 90 = 1. Hence after that you just use polar coordinate system to find r prime. Nice explanation, but 7 minutes in the beginning of video is useless shit, sorry)
@EgoMoose
@EgoMoose 4 жыл бұрын
100% agree on the beginning being useless shit haha. In the more recent things I've posted (regarding explaining math stuff) I prefer to do so through text. It helps me provide more detailed better thought out explanations. I know you already watched the video, but here's a post I made on the same topic but written: github.com/EgoMoose/Articles/blob/master/Rodrigues'%20rotation/Rodrigues'%20rotation.md Not all, but a lot of the topics I cover on this channel + more are in that repository in written form. Thanks for the feedback though! :)
SLERP (Quaternions)
22:02
EgoMoose
Рет қаралды 52 М.
How quaternions produce 3D rotation
11:35
PenguinMaths
Рет қаралды 87 М.
We Got Expelled From Scholl After This...
00:10
Jojo Sim
Рет қаралды 71 МЛН
Super gymnastics 😍🫣
00:15
Lexa_Merin
Рет қаралды 108 МЛН
FABRIK (Inverse kinematics)
21:05
EgoMoose
Рет қаралды 65 М.
Derivation of Rodrigues’ Rotation Formula
43:16
Christopher Lum
Рет қаралды 17 М.
Rotation matrix, Quaternion, Euler angles, Rodrigues' rotation explained
32:12
Dot product
19:48
EgoMoose
Рет қаралды 4,3 М.
[IONLAB Lectures] Rodrigues' Rotation Formula
12:20
Leandro Lustosa
Рет қаралды 1,6 М.
Euler's Formula for the Quaternions
25:35
Mathoma
Рет қаралды 43 М.
2D collision detection (SAT)
13:35
EgoMoose
Рет қаралды 38 М.
We Got Expelled From Scholl After This...
00:10
Jojo Sim
Рет қаралды 71 МЛН