quinta-feira, 25 de abril de 2013

randomiza normals HOUDINI


From http://www.3daet.com/pages/764/random_normal_rotations/
A great way to randomize normals without copy stamping geometry.

Save memory and randomize normals without stamping geometry.


Date Created:Friday March 16th, 2007 01:58 PM

Date Modified:Sunday August 03rd, 2008 09:30 AM
Lay down a grid, and append a point SOP. Use these values for the Position parameter.
TX: $TX+noise($TX*5,$TY*5,$TZ*5)*3
TY: $TY
TZ: $TZ+noise($TX,$TY,$TZ)*2
Toggle on "Add Normal", and set the values to 0 0 1
Append another point SOP, and toggle on "Add Normal". Use these values:
NX: $NX+fit01(rand($PT+1.001),-1,1)
NY: $NY
NZ: $NX+fit01(rand($PT+1000.001),-1,1)
Go to the particle tab, and toggle on "Add Up Vector". Use the values 0 1 0.

Nenhum comentário:

Postar um comentário