Hair (hr)

key: hr

type: SCfC

  1. string: object name.
  2. mtrlNm: object material name.
  3. float: strand radius
  4. vrtxPstn: vertex position list.

Description

Hair strand primitive, specified by its radius and a list of vertices that lie on the strand, listed from root to tip.

Example

hr "hair0"
  mtrlNm "material_name" end
  3.0E-2
  vrtxPstn
    -1.5 2.5 0.0
    -1.5 2.0 0.0
    -1.4 2.3 0.5
    -1.3 2.2 0.2
  end
end
mdl page