![]() ![]() you can also reference parameters from external nodes // if there is an expression (Python/hscript) in the parameter, // it will be evaluated float up = chf( "./params_1/move_up") ![]() you can also use optioinal argument for time which will enable you to evaluate // the channel at different frame // // once you type ch*() in your code, you can press a button on the right, to // generate a UI parameter for it automatically, you can do the same by hand as well float y = chf( "y_position") * multi-line comments can be typed using this syntax */ // in vex you can evaluate values from parameters on this node // by calling ch*() function, with * representing a signature, check the docs // for the full list, some of them: chv() - vector, chu() - vector2, chs() - string // chramp() - ramp, chp() - vector4, chi() - int, chf() - float, ch4() - matrix, ch3() - matrix3. DOPs / Geometry Wrangle - accessing fields.DOPs / Gas Field Wrangle - accessing DOPs and SOPs data.Where necessary I include related functions from myLib.h or attach screenshots. I am not including here all of the code since sometimes it might not make a lot of sense outside of Houdini. Alternatively you can use this page for quick looking at the topics covered and most of the code that I include here as well. It is the best to check all the nodes with open Geometry Spreadsheet and Console Output windows to see values of attributes and output text. ![]() It contains examples.hipnc and vex/include/myLib.h files which are full of various examples with explanations in comments. You can clone, or directly download this repository. A collection of code snippets and examples showing syntax and capabilities of VEX language inside SideFX Houdini ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |