Udemy
    •  
    •  
    •  
    •  
    •  
    •  
    •  
    •  
Turn what you know into an opportunity and reach millions around the world.
Learn More
Your cart is empty.
Keep shopping
Houdini Intro to VEX Programming for Absolute Beginners
Highest Rated
Rating: 5.0 out of 5(10 ratings)
97 students

Houdini Intro to VEX Programming for Absolute Beginners

Houdini, VEX, Python
Created byDeepak Gayan
Last updated 10/2024
English
English [Auto],

What you'll learn

  • BUY FROM GUMROAD AND GET AT ONLY $20.99.
  • New lessons coming in January 2025
  • Basics of Python in the beginning of the couse to get a clear idea of programming
  • This course is for beginners who want to learn VEX in Houdini
  • Basics of Arrays in VEX
  • For loops, while and do while loops including nexting of loops
  • Functions and overloads of functions
  • Basics of point, prim and detail functions
  • Intro to bbox functions in VEX and HScript
  • pcfind and pcfind_radius along with neighbour, neighbours and neighbourcount

Course content

2 sections34 lectures7h 43m total length
  • Introduction1:31

    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.

  • Installing VSCode and Python3:32

    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.

  • Setting up VSCode6:11

    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.

  • Intro to variables and declarations8:43

    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.

  • Basics of Math using variables4:25

    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.

  • Concatenating Strings with numbers6:27

    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.

  • if elif else statements15:53

    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.

  • and or operators5:49

    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.

  • Arrays12:48

    Explore arrays in VEX programming, learn how to create, index, print, append, remove, and count items, and understand zero-based indexing and common errors.

  • Loop and Break and Continue13:02

    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.

  • Nested Loops7:26

    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.

  • While Loops7:46

    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.

  • Functions10:16

    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.

  • Practice Lessons 019:52

    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.

  • Practice Lesson 02 - Percentage Calculation6:49

    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 Lesson 03 - Nested Loops Exercise14:54

    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.

  • Practice Lesson 04 - Removing Array Elements using Loop12:23

    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.

Requirements

  • No VEX programming knowledge needed to start this course
  • Basics of Houdini is a MUST
  • Passion to Code in VEX

Description

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.

Who this course is for:

  • Intended for Generalists, FX Artists, Lighters.
  • Passionate Artists