
Explore variables in Python and VEX, including integers, floats, strings, and lists or arrays, with declarations, descriptive names, and readability. Print in Python and send data to Houdini attribute spreadsheet.
Learn basics of math in Python by declaring variables, performing addition, subtraction, multiplication, and division, printing results, and noting that variable names cannot start with a number or include spaces.
Learn Python conditional statements with if, elif, and else to compare numbers and strings, distinguish assignment from comparison, and understand how only one branch executes.
Practice using nested loops to compare two arrays with outer and inner loops, find common values, and populate found and not found lists in Houdini's VEX.
Learn to declare and initialize variables in vex, covering integers, floats, strings, vectors, and arrays, with proper comments and type rules. Use concatenation, casting rules, and print f.
Learn to compute distances in VEX with the distance function and xyz distance function, using box centers and point positions to measure distances between geometries and surfaces.
Explore sine and cosine as wave functions, learn degrees vs radians, and apply them in Houdini VEX to create patterns, spirals, and time-based motion using curve view and attributes.
Learn how to read and transfer point, primitive, and detail attributes in Houdini wrangles using point functions, ensuring topology alignment and applying attributes like color and velocity.
In this series of lessons we will learn basics of Python language. We start with installing and setting up Python and Visual Studio Code for programming. Then will cover types of variables in Python then move towards basics of math and concatenating strings. After that towards conditionals in Python then to Arrays, Loops and Functions. We will also do some exercises in Python. After we finish Python we will start doing VEX in Houdini. We will start with basic attributes in VEX to variables then moving to loops and its types such as for, while and do while and foreach loop which is specially used for arrays. Discussing nested loops is also a very important part of this course. We will learn how to add and remove elements from the array using loops. From there we will move to bbox functions and point, detail and HScript functions not to miss out on Sin and Cos functions. distance and xyzdist are also discussed in full detail which are important as well. Functions such as neighbours, neighbours and neighbourcount are also addressed in full detail. We will finish with point finding functions such as pcfind and pcfind radius. I will keep adding more lesson as we progress further. So, stay focused and lets go Code.