Method for computation of local densities for virtual fibers
AssigneeUnity Technologies SF
InventorOlivier Gourmel
Life of this patent
Estimating the term…
Abstract
An image generator generates images of a set of virtual fibers and effects thereon by processing representations of the set of fibers and computing representation of a virtual surface for a fiber clump in the set of virtual fibers from an artist parameter representing a desired artist effect, computing correlations of the vertices from a set of vertices based on associations of the vertices corresponding to the artist parameter, computing a set of relevant vertices using the correlations of the vertices, computing orthogonal gradients to produce a plurality of gradients using a selected vertex and the set of relevant vertices for the fiber clump, and computing the virtual surface of the fiber clump from the plurality of gradients.
Claims22
A computer-implemented method for computing, in a computer graphics generation system, a representation of a virtual surface for a fiber clump in a set of virtual fibers, the method comprising:
- receiving a set of vertices, wherein vertices of the set of vertices are associated with virtual fibers of the set of virtual fibers, and wherein each of the virtual fibers comprises a fiber curve including one or more of the vertices in the set of vertices;
- obtaining an artist parameter representing a desired artist effect for the set of virtual fibers, wherein the artist parameter is associated with a table of precomputed values from at least one of a first inverse of (2k+1) of a polynomial associated with one or more of the set of vertices, a second inverse of a square of the artist parameter, or a binomial coefficient of n and k, for some integers k and n with 0<k<n;
- computing correlations of the vertices from the set of vertices based on associations of the vertices in the set of vertices corresponding to the artist parameter;
- computing a set of relevant vertices of the set of vertices for the fiber clump using the correlations of the vertices;
- computing a pair of orthogonal gradients to produce a plurality of gradients using a selected vertex and the set of relevant vertices for the fiber clump;
- and computing the virtual surface from the plurality of gradients.
A computer system comprising:
- one or more processors;
- and a storage medium storing instructions, which when executed by the one or more processors, cause the computer system to perform operations comprising:
- receiving a set of vertices, wherein vertices of the set of vertices are associated with virtual fibers of the set of virtual fibers, and wherein each of the virtual fibers comprises a fiber curve including one or more of the vertices in the set of vertices;
- obtaining an artist parameter representing a desired artist effect for the set of virtual fibers, wherein the artist parameter is associated with a table of precomputed values from at least one of a first inverse of (2k+1) of a polynomial associated with one or more of the set of vertices, a second inverse of a square of the artist parameter, or a binomial coefficient of n and k, for some integers k and n with 0<k<n;
- computing correlations of the vertices from the set of vertices based on associations of the vertices in the set of vertices corresponding to the artist parameter;
- computing a set of relevant vertices of the set of vertices for the fiber clump using the correlations of the vertices;
- computing a pair of orthogonal gradients to produce a plurality of gradients using a selected vertex and the set of relevant vertices for the fiber clump;
- and computing the virtual surface from the plurality of gradients.
Dependencies are inferred from the claim text.