Modeling hair using interpolation and clumping in an iterative process
AssigneePacific Data Images LLC
InventorsJonathan D. Gibbs, David A. Hart
Life of this patent
Estimating the term…
Abstract
The present invention models hairs by generating hairs by interpolation and then further modifying the interpolated hairs to form clumps. The modified hairs can be iteratively reprocessed to generate more hairs and thereby produce a greater level of detail in the resulting hairstyle. The invention can be used to model any tubular structures protruding from a surface, such as strands of fur protruding from an animal's skin and blades of grass or stems of plants protruding from the ground.
Claims17
A computer-readable storage medium that stores a computer program for modifying a given hair, which has an origin and a plurality of vertices, wherein a vertex of the given hair has a clumpiness value, the computer program comprising instructions for:
- identifying a clump hair to which the given hair is attracted, wherein the clump hair has an origin, a radius extending from the origin, a plurality of vertices, each vertex of the clump hair having a clumpiness value;
- determining locations for vertices of a reference hair that includes a plurality of vertices, each vertex of the reference hair having a clumpiness value, wherein an origin of the reference hair lies between the origin of the given hair and the origin of the clump hair;
- and
- for each vertex of the given hair:
- determining a new location of the vertex, the new location being between the location of the vertex of the given hair and a location of a corresponding vertex of the reference hair, according to the clumpiness value of the vertex of the given hair, the clumpiness value of the corresponding vertex of the reference hair, and the clumpiness value of a corresponding vertex of the clump hair;
- and
- storing the new locations of the vertices of the given hair.
A computer-readable storage medium that stores a computer program for modifying a given hair, which has an origin and a plurality of vertices, wherein a vertex of the given hair has a clumpiness value, the computer program comprising instructions for:
- identifying a clump hair to which the given hair is attracted, the clump hair having an origin, a radius extending from the origin, and a clumpiness value, wherein the origin of the given hair is located within the radius of the clump hair;
- determining a reference hair that includes a plurality of vertices with associated location and direction values, wherein determining the reference hair includes instructions for:
- determining an origin of the reference hair by translating the origin of the given hair towards the origin of the clump hair;
- determining location and direction values for a plurality of vertices of the clump hair;
- and
- determining location and direction values for the reference hair from location and direction values at corresponding vertices of the clump hair;
- modifying the given hair by modifying one or more vertices of the given hair according to the location and direction values of the reference hair, the clumpiness value of the clump hair and the clumpiness value of the given hair;
- and
- storing the modified given hair.
Dependencies are inferred from the claim text.