'Houdini/Houdini [스크랩]'에 해당되는 글 5

  1. 2011.07.21 [houdini] wave
  2. 2011.07.21 [Houdini] sin expression

[houdini] wave


Wave
1) create a grid node. set size as 25, 25, Rows 75, and Columns 75
2) create a VEX_Mountain Node, set Roughness 0.1, Height 0.6, Frequency 0.3, 0.3, 0.3.
3) type $F/10 at X offset
4) type ch("offset1") at Y offset =the X offset value
5) type ch("offset1") at Z offset =the X offset value
*VEX_Mountain Node uses normal attributes on the input geometry. If a normal has 0 length, this operator will not displace the point along that normal.

6)copy the VEX node, and paste it. Set Fractal Depth as 4, Roughness as 0.2, Height as 0.1
7)type $F/50 at the X offest
8)type ch("../v_mountain1/offset1")at the Y offest
9)type ch("../v_mountain1/offset1")at the Z offest
10) Name First VEX nose as low_frequency, and name second VEX node as high_frequency
Notice the Y and Z offsets of high_frequency becomech("../low_frequency/offset1")
11) create a point node. Use add color and delete channels.
12) Type $BBY^2 at R color, $BBY at G color, and $BBY+0.2 at B color

Local Variables
$BBX,$BBY,$BBZ position of point within bounding box, ranges 0-1

Function
pow(base, exponet) This computes the base to power given
pow(BBY) = $BBY^2

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

[Houdini] sin expression  (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

[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