A collection of code snippets and examples showing syntax and capabilities of VEX language inside SideFX Houdini - tricecold/vex_tutorial ... (ternary) operator with ...
VEX is not an alternative to scripting, but rather a smaller, more efficient general purpose language for writing shaders and custom nodes. VEX is loosely based on the C language, but takes ideas from C++ as well as the RenderMan shading language. VEX is used in several places in Houdini: Rendering – mantra uses VEX for all shading computation.
Some folks use the terms interchangeably but I kind of prefer to leave the environment term to the variables available through the hcofig command such HOUDINI_MAXTHREADS and HOUDINI_VEX_PATH. There is some overlap and there might be technical differences in what Houdini considers system, environment and global variables.
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 ...
Jul 22, 2015 · Particle trails can be slow and inefficient in Houdini. While tinkering, Danil Krivoruchko found a way to create a particle trail effect completely in VEX. Danil walks though creating the particle trail effect in VEX in great detail. If you are unfamiliar with Houdini, VEX Operators let you string together code by connecting nodes.