[VEX for Algorithmic Design] E14 _ Quaternion Basics

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

Junichiro Horikawa

Junichiro Horikawa

Күн бұрын

This is a new series I've started explaining the basics of VEX for algorithmic design / procedural modeling which I'm using on daily basis.
In this 14th episode, I'm explaining the basics of quaternion, how you can use it for rotational transformation in Houdini with VEX together with some examples.
I've also started a Patreon, it would be great if I could get your support to continue creating tutorial contents.
00:00:00 Intro / What is Quaternion?
00:04:23 Declare Quaternion
00:10:41 Rotation with Quaternion
00:16:53 Exercise - Rotate Object
00:23:23 Exercise - Spiral Rotation
00:27:54 Euler to Quaternion
00:42:56 Quaternion to Euler
00:47:13 Quaternion Blend with Slerp
01:00:20 Exercise - Rotational Animation
01:19:11 Orient Vector with Dihedral
01:24:19 Exercise - Animation with Dihedral
01:39:02 Next Topic - Matrices Basics
[Project Data Downloads]
github.com/jhorikawa/VEXForAl...
[Patreon page]
/ junichirohorikawa
[Episodes]
Episode 1 - Attribute Basics: • [VEX for Algorithmic D...
Episode 2 - Group Basics: • [VEX for Algorithmic D...
Episode 3 - Parameter Basics: • [VEX for Algorithmic D...
Episode 4 - Variables and Operations: • [VEX for Algorithmic D...
Episode 5 - Array: • [VEX for Algorithmic D...
Episode 6 - Strings: • [VEX for Algorithmic D...
Episode 7 - Loop: • [VEX for Algorithmic D...
Episode 8 - Conditional: • [VEX for Algorithmic D...
Episode 9 - Function: • [VEX for Algorithmic D...
Episode 10 - Volume Basics: • [VEX for Algorithmic D...
Episode 11 - Dictionary Basics: • [VEX for Algorithmic D...
Episode 12 - Vector Basics: • [VEX for Algorithmic D...
Episode 13 - Trigonometry Basics: • [VEX for Algorithmic D...
Episode 14 - Quaternion Basics: • [VEX for Algorithmic D...
Episode 15 - Matrix Basics 1: • [VEX for Algorithmic D...
Episode 16 - Geometry Functions: • [VEX for Algorithmic D...
Episode 17 - Intrinsic Attribute: • [VEX for Algorithmic D...
Episode 18 - Randomness Basics: • [VEX for Algorithmic D...
Episode 19 - Noise Basics: • [VEX for Algorithmic D...
Episode 20 - Solver Basics: • [VEX for Algorithmic D...
Episode 21 - Half-Edge Basics: • [VEX for Algorithmic D...
Episode 22 - Remapping Basics: • [VEX for Algorithmic D...
Episode 23 - SDF Basics: • [VEX for Algorithmic D...
Episode 24 - Force Basics: • [VEX for Algorithmic D...
Episode 25 - Force Extended: • [VEX for Algorithmic D...
Episode 26 - Recursion Basics: • [VEX for Algorithmic D...
[Houdini Related Playlists]
VEX for Algorithmic Design: • VEX for Algorithmic De...
Houdini Tutorial: • Houdini Tutorials
Houdini Algorithmic Live: • Houdini Algorithmic Live
Houdini Snippets: • Houdini Snippets
Houdini Tips: • Playlist
[Portal Page]
Facebook Page: / parametricproceduralho...
[Books]
Algorithmic Design Workbook with Houdini: gum.co/GOZFw
Tiling Pattern with Houdini: gumroad.com/l/OVDgY
Algorithmic Design with Houdini: www.bnn.co.jp/books/9788/
Books on BOOTH: orangejellies.booth.pm/
[Contact]
Twitter: / jhorikawa_err

Пікірлер: 25
@apo6199
@apo6199 3 жыл бұрын
The basic math knowledge really helps a lot to learn parametric design, please do more of these kinds of shares!thank you so much for this great series!
@jesusfreak_x3l
@jesusfreak_x3l 7 ай бұрын
After many years of 3D and Houdini I finally get the courage to face quaternions thanks you. And it is not even that scary :-) Thank you Professor.
@VitaminSoup
@VitaminSoup 3 жыл бұрын
The was a little math trick there that never occurred to me. Dividing the result of (y % x) by x give you a value between 0-1. Thanks!
@gtrzdaddy
@gtrzdaddy 3 жыл бұрын
First of all I have a pretty bad case of ADHD, but your lessons, even with the monotonic narration, was extremely enjoyable, immersive, and kept me in my desk, while improving my Houdini skills tremendously! Thank you for all the great contents!
@Alain21312131
@Alain21312131 3 жыл бұрын
I'm certain that you know this, but a nice way to have the orient attribute computed from a transform node like you are doing around 1h06m is to actually create the orient attribute beforehand. The transform will automatically modify the existing orient correctly. And then you can attribute promote it to detail using the iteration value. I do realize that you showed this using VEX since this is the focus at hand, but I still think this is worth noting. Especially if we are daisy-chaining multiple transform. Keep up with the awesome content !
@MrUltraVic
@MrUltraVic 2 жыл бұрын
Oh my gosh! Thank you so much for this comment.....I was trying so hard to get all this to work right for exporting point cloud info to unreal.
@wensenliang1019
@wensenliang1019 3 жыл бұрын
can't wait for the matrix selections.
@fazlgumus9421
@fazlgumus9421 3 жыл бұрын
Thank u Mr Horikawa
@maurypb
@maurypb 2 жыл бұрын
Great lesson, Professor Horikawa. Thank-you!
@kitma5747
@kitma5747 3 жыл бұрын
Thank so much for the detailed explanation.
@jw4412
@jw4412 7 ай бұрын
Thanks you sir!
@avi4fxonly
@avi4fxonly 2 жыл бұрын
thank u so much for such a nice explanation
@peterprickarz3135
@peterprickarz3135 3 жыл бұрын
Awesome, thanks a lot for all the dope content!
@ularrarte
@ularrarte 3 жыл бұрын
Came here after doing yout tutotial. Its dope!
@peterprickarz3135
@peterprickarz3135 3 жыл бұрын
@@ularrarte Damn, the world is small. Thanks!
@sams_3d_stuff
@sams_3d_stuff 3 жыл бұрын
Thank you Master.
@Ooorient
@Ooorient 2 жыл бұрын
thank you for these treatures!!!!!!!
@graphic-nations
@graphic-nations 3 жыл бұрын
Amazing thank you
@srinavin
@srinavin 3 жыл бұрын
Thank you
@MONEYVAL9
@MONEYVAL9 2 жыл бұрын
Class in session.
@decanecaudeoscar6961
@decanecaudeoscar6961 Жыл бұрын
i love these 3D courses where the grab guizmo is barely used in 15 hours of training
@bass_journey
@bass_journey 2 жыл бұрын
Sophisticated solution, I still can't wrap around my mind totally on how you mapped each iteration to a certain frame range when it comes to the brick rotation at the end. Anyone can explain that to me :) ?
@AnsonSavage
@AnsonSavage Жыл бұрын
Yeah! So, there's 5 iterations, right? So he finds the range of a single iteration by taking the number of frames ($FEND) and divides by the number of iterations. Say there's 100 frames. Then range would be 100/5 = 20. Next, he maps t to a value between zero and one. % means modulus. @Frame % range gives how far into that iteration's range the current frame is. E.g., frame 35 % 20 would be 15. He then divides by range (20) to get 0.75, indicating that on frame 35, the t value is 0.75 or 75% of the way through that iteration. The only thing left is to determine which iteration. He does this by dividing the @Frame by the range and flooring it. So, on frame 35, we'd have 35/20 = 1.75, but floor(1.75) is 1, so this indicates it's on iteration 1 (iteration 0 is the first iteration). He then uses % num to ensure that, once the iteration gets up to 5, it is zero instead. Instead of 0, 1, 2, 3, 4, 5, it would be 0, 1, 2, 3, 4 ,0.
@bass_journey
@bass_journey Жыл бұрын
@@AnsonSavagethanks for the time to write this down. I will take some time this weekend to go through this again and check your explanation . I still have the exercises saved. Never managed to understand this last part fully, although could see how it worked. Cheers
[VEX for Algorithmic Design] E15 _ Matrix Basics 1 (Basic Transformation)
3:32:58
[VEX for Algorithmic Design] E06 _ Strings
1:00:05
Junichiro Horikawa
Рет қаралды 12 М.
Sprinting with More and More Money
00:29
MrBeast
Рет қаралды 160 МЛН
Which one is the best? #katebrush #shorts
00:12
Kate Brush
Рет қаралды 11 МЛН
СНЕЖКИ ЛЕТОМ?? #shorts
00:30
Паша Осадчий
Рет қаралды 1,7 МЛН
Урок Houdini "Кватернионы для чайников" (RUS)
23:21
Houdini по-русски
Рет қаралды 41 М.
[VEX for Algorithmic Design] E11 _ Dictionary Basics
1:14:18
Junichiro Horikawa
Рет қаралды 10 М.
Basic Intro to Quaternions for 3D Rotations
5:49
Covenant Turtle
Рет қаралды 41 М.
[VEX for Algorithmic Design] E10 _ Volume Basics
1:41:06
Junichiro Horikawa
Рет қаралды 24 М.
[VEX for Algorithmic Design] E23 _ SDF Basics
1:50:28
Junichiro Horikawa
Рет қаралды 10 М.
Visualizing quaternions (4d numbers) with stereographic projection
31:51
[VEX for Algorithmic Design] E07 _ Loop
1:47:39
Junichiro Horikawa
Рет қаралды 20 М.
Quaternions and 3d rotation, explained interactively
5:59
3Blue1Brown
Рет қаралды 1,1 МЛН
[VEX for Algorithmic Design] E17 _ Intrinsic Attribute
1:33:18
Junichiro Horikawa
Рет қаралды 10 М.
How charged your battery?
0:14
V.A. show / Магика
Рет қаралды 4,1 МЛН
Где раздвижные смартфоны ?
0:49
Не шарю!
Рет қаралды 657 М.
5 НЕЛЕГАЛЬНЫХ гаджетов, за которые вас посадят
0:59
Кибер Андерсон
Рет қаралды 1,4 МЛН