[VEX for Algorithmic Design] E09 _ Function

Published 2020-11-06
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 9th episode, I'm explaining what and how to use functions in VEX. You have already used some of the built-in functions but I'm explaining what exactly they are and how you can create your own function in this video.

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 function?
00:00:56 Function types
00:04:09 Built-in functions overview
00:05:22 Void function
00:16:59 Return function
00:20:50 Exercise - nearpoint 1
00:31:36 Exercise - nearpoint 2
00:41:13 Exercise - intersect
00:54:54 User-defined void function
01:07:08 User-defined return function
01:18:17 Declare output parameter
01:22:32 Import preinstalled functions
01:34:04 Import user-defined functions
01:41:09 Next topic - Volume

[Project Data Downloads]
github.com/jhorikawa/VEXForAlgorithmicDesign

[Patreon page]
www.patreon.com/junichirohorikawa

[Episodes]
Episode 1 - Attribute Basics:    • [VEX for Algorithmic Design] E01 _ At...  
Episode 2 - Group Basics:    • [VEX for Algorithmic Design] E02 _ Gr...  
Episode 3 - Parameter Basics:    • [VEX for Algorithmic Design] E03 _ Pa...  
Episode 4 - Variables and Operations:    • [VEX for Algorithmic Design] E04 _ Va...  
Episode 5 - Array:    • [VEX for Algorithmic Design] E05 _ Array  
Episode 6 - Strings:    • [VEX for Algorithmic Design] E06 _ St...  
Episode 7 - Loop:    • [VEX for Algorithmic Design] E07 _ Loop  
Episode 8 - Conditional:    • [VEX for Algorithmic Design] E08 _ Co...  
Episode 9 - Function:    • [VEX for Algorithmic Design] E09 _ Fu...  
Episode 10 - Volume Basics:    • [VEX for Algorithmic Design] E10 _ Vo...  
Episode 11 - Dictionary Basics:    • [VEX for Algorithmic Design] E11 _ Di...  
Episode 12 - Vector Basics:    • [VEX for Algorithmic Design] E12 _ Ve...  
Episode 13 - Trigonometry Basics:    • [VEX for Algorithmic Design] E13 _ Tr...  
Episode 14 - Quaternion Basics:    • [VEX for Algorithmic Design] E14 _ Qu...  
Episode 15 - Matrix Basics 1:    • [VEX for Algorithmic Design] E15 _ Ma...  
Episode 16 - Geometry Functions:    • [VEX for Algorithmic Design] E16 _ Ge...  
Episode 17 - Intrinsic Attribute:    • [VEX for Algorithmic Design] E17 _ In...  
Episode 18 - Randomness Basics:    • [VEX for Algorithmic Design] E18 _ Ra...  
Episode 19 - Noise Basics:    • [VEX for Algorithmic Design] E19 _ No...  
Episode 20 - Solver Basics:    • [VEX for Algorithmic Design] E20 _ So...  
Episode 21 - Half-Edge Basics:    • [VEX for Algorithmic Design] E21 _ Ha...  
Episode 22 - Remapping Basics:    • [VEX for Algorithmic Design] E22 _ Re...  
Episode 23 - SDF Basics:    • [VEX for Algorithmic Design] E23 _ SD...  
Episode 24 - Force Basics:    • [VEX for Algorithmic Design] E24 _ Fo...  
Episode 25 - Force Extended:    • [VEX for Algorithmic Design] E25 _ Fo...  
Episode 26 - Recursion Basics:    • [VEX for Algorithmic Design] E26 _ Re...  


[Houdini Related Playlists]
VEX for Algorithmic Design:    • VEX for Algorithmic Design  
Houdini Tutorial:    • Houdini Tutorials  
Houdini Algorithmic Live:    • Houdini Algorithmic Live  
Houdini Snippets:    • Houdini Snippets  
Houdini Tips:    • Playlist  

[Portal Page]
Facebook Page: www.facebook.com/ParametricProceduralHoudini/

[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: twitter.com/jhorikawa_err

All Comments (13)
  • I love this series, and in particular I love the way that Junichiro patiently explains each detail of the workings of VEX. He never assumes you know anything. VEX (and C or C++) are not easy to learn. This is as good a tutorial on them as you'll find anywhere.
  • Thank you!!!!! Will watch with pleasure.You are one of the best teacher and i love your videos.
  • Dear Sensei Junichiro Horikawa, on my way to have a deeper understanding of Houdini, i watch step by step your lessons of this serie. They are very instructives and so patiently well explained. I would like to thank you for providing this high quality content to all of us for free, this helps alot. どうもありがとうございます
  • @absolud
    As an additional note to this chapter, if one is using custom packages like I am which points to my external custom Houdini folder for example , creating a vex/include folder structure there also allows for the #include "spiral.h" notation . I'm aware that this might be out of the scope for this chapter. but i thought that it might be nice to know when users are organizing code this way as well. 💗Great series of video's Junichiro
  • @guitoma109
    Thanks Junichiro!!! Excelent hints at the end with the Import user-defined functions. See you in the next JuniFlix series E10.
  • @bomhaa
    Your video are amazing! Thanks so much Junichiro, from South Africa
  • @raneemFX
    Thank you Master , Lot of Knowledge.
  • @Aethernox
    "more you have, farther you can reach." 44:15 -A wise man aka. Junichiro Horikawa
  • @yukihonda3240
    堀川さんフーリエ変換は出来ますか?フーリエ変換で温泉の温度を周波数で微細に階層的に計測するとかは?(これフーリエ変換で出来るのかな??・笑)