[Houdini] sin expression


1) create a line node, and increase points to 50 and set distance to 10, change direction to 1,0,0

2) create a point node, type $TY+sin($F+$PT*20)*2

Variable:
$TX, $TY, $TZ --- X, Y, Z point position variables

3) create a attribcreate node
attribcreate node is used to add or modify user defined attributes
Name the node as width
type $PT/$NPT*0.1 at the first value box

4) create a polywire node
Type $WIDTH at Wire Radius

[Variable]
 
$PT point number
$NPT Total number of point
$CR Diffuse point color red
$CG Diffuse point color green
$CB Diffuse point color blue
$PR Primitive or profile number
$NPR Total number of primitives or profile number
$F Frame number
 

'Houdini > Houdini [스크랩]' 카테고리의 다른 글

[houdini] wave  (0) 2011.07.21
[Houdini SOP - Ray]  (0) 2011.06.21
[Houdini] Vimeo Tutorial  (0) 2011.05.26
[Houdini] Commands and communication  (0) 2011.05.23