Search - User list
Full Version: Most used expressions
Root » Houdini Learning Materials » Most used expressions
stigolsen
Hi,

What is the most used expressions in Houdini? The expressions that you find yourself using over and over again?

Stig
Cyzor
While I can't say I use all of these, here are some common expressions that may be of interest:

https://sites.google.com/site/fujitarium/Houdini/useful-expressions-houdini [sites.google.com]
http://www.andynicholas.com/?p=1344 [andynicholas.com]

Attribute examples:
@attribute>0
@attribute.x==0
@Cd.x>0.3
circusmonkey
To many to mention

rand(@id+2322)
stigolsen
I guess the last code randomize the point IDs. Why do you add 2322.
Why do you use @ intead of $?
Sadjad Rabiee
stigolsen
I guess the last code randomize the point IDs. Why do you add 2322.
Why do you use @ intead of $?


This number is seed value in the random function , you can take different random result with adding some number in the rand function.


Also @ is same with $ , in the VEX programming language for example in the POP Wrangle DOP we should use @ instead of $ !

$ only useful in the other networks except VEX and also in the Old-Particle system. 8)

Sorry circusmonkey for my answer :roll:
Sadjad Rabiee
Ha ha , that's interesting question

I think stamp() function is one of the most important expressions in the Houdini , or at least in the Motion Graphics and Procedural Modelings 8)
eetu
Yeah, I could type rand(stamp(“../copy1”, “copynr”, 0)) in my sleep
circusmonkey
Stig be sure to create a note book and collect examples ! .

Rob
PradeepBarua
These are the some functions which I use almost each and every day.

hscript:

rand()
stamp()
centroid()
point() / prim() / detail()
bbox()
length()
PradeepBarua
VEXpression:

rand() / random()
pcopen() / pcfilter() / pcimportbyidxi() / pcclose()
removepoint() / removeprim()
length()
addpoint() / addprim() / addvertex()
nearpoint()
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB