VEX TIPS & TRICKS


In this collection of VEX snippets I will demonstrate usage of various areas of VEX scripting language. I am demonstrating its functionality and integration inside of Houdini. I am providing a project file and a library containing various example functions and I also put the code on following website. Everything contains explanatory comments and I tried to cover as much of VEX as possible and to include nice examples :)


Happy VEX-ing :)


COMMENTS

  • AlchemistRS 6 years, 2 months ago  | 

    JURAJ TOMORI THANKS ALOT MAN AWESOME...!!!!

  • Hyman 6 years, 2 months ago  | 

    JURAJ TOMORI
    Thanks very much

  • hound2003 6 years, 2 months ago  | 

    Hi - thank u for this brilliant collection)
    I try to learn vex - can U please help me;
    what's the difference between
    @Cd = {1,0.5,0.7};
    and
    vector color = chv("Cd");
    v@Cd = color;

    When i use somethin like
    f@myfloat = 1.1;
    i@myinteger = 2;
    s@mystring = "string_name";
    v@myvector={1,1,1};
    I use attributes?

    When i can use
    float
    vector
    an so on...
    T/y

  • juraj 6 years, 2 months ago  | 

    Hi, you are welcome.
    If you use @ prefix, then you are using attributes, which are exported out of your node and can be accessed in another nodes.

    If you use float/vector/int ... then you are creating variables, which are local to current node, you cannot access their values from outside unless you export them to attributes - f@, v@, i@ ....

  • jcmusashi 6 years, 2 months ago  | 

    master muchismas thanks for this tutorial of VEX sincerely I am proud to be a user of houdini fx it is amazing how excellent and good it is all the days I practice and study the way of working I practice and practice in the modeling part I have learned enough not to know and I live in Venezuela and in spite of the fact that here I lack everything I learn every day thanks to people like you. THANK YOU VERY MUCH "JURAJ TOMORI" God bless you I ask you with all the humility possible it would be very hard to ask you to do a tutorial about EXPRESSIONS in houdini

Please log in to leave a comment.