hair tutorial

   4093   1   2
User Avatar
Member
50 posts
Joined: July 2005
Offline
Hey folks, looking for a point in the right direction. I've downloaded a copy of the hair tutorial of the odforce website (http://odforce.net/tips/) [odforce.net] but am having some trouble understanding the README file. In it, it gives some example values for changing some properties of the hair:

“GLOBAL VARIABLES:

HAIR_FREQ - The subdivisions on the source geometry, controls the density
or number of hairs generated.

NORMALS - A control for randomizing the orientation of each hair.

HAIR_LENGTH - Controls the overall length of the hairs.

VARIATION - A control for randomizing the length of each hair

HAIR_WIDTH - Controls the thickness of each hair as it appears when rendered
with vmantra.

ROOT_WIDTH - Additional control for rendered thickness of the base or start
of each hair.

STIFFNESS - Controls the value of the blend sop, helps simulate ”stiffness“
of the hair.

EXAMPLE SETTINGS:

Fluffy Ball:
HAIR_FREQ = 20
NORMALS = .75
HAIR_LENGTH = .9
VARIATION = 1
HAIR_WIDTH = .004
ROOT_WIDTH = .01
STIFFNESS = .5

Spiky:
HAIR_FREQ = 3
NORMALS = .75
HAIR_LENGTH = .7
VARIATION = .5
HAIR_WIDTH = .01
ROOT_WIDTH = .1
STIFFNESS = .8

Peach Fuzz:
HAIR_FREQ = 30
NORMALS = 1.5
HAIR_LENGTH = .05
VARIATION = .01
HAIR_WIDTH = .005
ROOT_WIDTH = .007
STIFFNESS = .85


However, I cannot seem to find where to change the properties of those global variables… do I need to create new attributes or am I missing something very simple (I assume the latter). I've included the hip file.

Attachments:
JS_vexhair.hip (70.8 KB)

~the most important things in life aren't things~
User Avatar
Member
4344 posts
Joined: July 2005
Offline
Jason's hair setup while still valid is a bit dated. Houdini 8.1 now has a Fur SOP which help facilitate the creation of hair and fur.

Please see this thread and the referenced threads for more information.

http://www.sidefx.com/index.php?option=com_forum&Itemid=172&page=viewtopic&t=6069 [sidefx.com]
if(coffees<2,round(float),float)
  • Quick Links