
Explore Python basics for Houdini, from integers and strings to loops and functions, using VS code. See how these concepts translate to VEX as we cover wrangle nodes and geometries.
Install VSCode and Python, choose a version (3.x preferred), and configure the system path and environment variables so Python runs from the command prompt.
Set up a vscode workspace for python tutorials by creating a project folder and installing the Python and Pylance extensions. Add and run Python files in the integrated terminal.
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 to concatenate strings with numbers in Houdini's VEX by converting integers to strings, using the plus operator, and managing spaces for clean output.
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.
Explore how to compare multiple variables using and and or operators in conditional statements. Write if-else logic to test combined conditions (and, or) and print results.
Explore arrays in VEX programming, learn how to create, index, print, append, remove, and count items, and understand zero-based indexing and common errors.
Explore Python loops, including for, while, and do while, iterate over an array of numbers, print values, and use break and continue to control flow.
Demonstrate nested loops by placing an inner loop inside an outer for loop, using I and J counters and arrays, and printing sequence patterns to illustrate iteration.
Explore while loops, their relation to for and do while loops, and starting an index at zero with increments. Use Len to size arrays and access elements via brackets.
Learn to define and call VEX functions with def, explore void and return types, and pass arguments, then see how overloading enables different input counts.
Create a two-argument function in Houdini Intro to Vex programming for absolute beginners that adds or subtracts based on a comparison, then print even and odd numbers using modulus.
Compute a student's total score across seven subjects with a for loop, then derive the percentage by dividing by the number of subjects, demonstrating accumulation and verification through prints.
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 how to remove duplicates from arrays using loops in vex within Houdini, identifying duplicates and unique values, and safely removing elements with outer and inner loops.
Explore the basics of vex in Houdini through point, primitive, and detail wrangles, learning to create attributes and use point numbers to drive geometry.
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.
Explore rand and fit in VEX to generate per-point random values and map 0–1 results to custom ranges, enabling randomized scales, rotations, and velocities.
Learn to assign and randomize point velocities in houdini using vex with rand and time-based functions, including setting velocity components, using fit for ranges, and applying seeds for scatter-based experiments.
Master if, elseif, and else logic in vex to color points with rand values and at cd. Learn add point and remove point in point and detail contexts.
Discover Houdini VEX's most common attributes, including position, color (CD), point velocity, volume velocity, width, scale and pscale, id, acceleration, normal, up vector, orient, uv, and group, with usage guidance.
Master Houdini loops for point geometry using for each, for, while, and do while; process arrays, index elements, measure lengths, and apply modulus with PC find and PC find_radius.
Learn how to use break and continue in vex wrangle to control loops, including stopping at the first even value or first point and skipping iterations.
Add and remove elements in arrays by building even and odd arrays, using append or push, and removing items with nested loops and careful indexing in VEX.
Explore functions and overloading in Houdini VEX, including void and non void returns, parameters, and returning types like int, float, string, and vector. Practice printing, concatenation, and basic debugging.
Explore Houdini bbox functions in HScript, retrieving center, min, max, and size for objects; use get box and get bbox variants to drive procedural bounds.
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.
Explore reading detail and point attributes in Houdini VEX, using detail and point contexts, and create a center point by averaging positions with a for loop.
Explore point finding functions in Houdini's VEX: neighbor, neighbors, and neighbor count, and learn how these tools target specific points and handle arrays.
learn to use pcfind and pcfind radius to locate neighboring points within a radius, control with max points, and apply two-input or varying-radius setups.
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.