Abstract:
A computer-implemented method for designing an avatar with at least one garment, the method comprising the steps of: S1) providing a digital model of an avatar comprising a skeleton (SN) and a skin (SK) covering the skeleton; S2) providing a digital model of a garment (GT) comprising a mesh having a plurality of vertex (vg1-vg7) connected by edges defining faces, each vertex being associated to at least one bone (B1, B2) of the skeleton of the avatar through a respective weighting coefficient; S3) associating a displacement direction (dd1-dd7) to each vertex of the garment, said displacement direction depending on the skeleton and on said weighting coefficients; and S4) detecting collisions between the skin of the avatar and the garment and, whenever a collision is detected, displacing a vertex of the garment away from the skeleton of the avatar along said displacement direction. A computer program product, a computer-readable data storage means and a Computer Aided Design system for carrying out such a method, and an avatar wearing at least one garment, suitable to be designed by such a method.
Abstract:
A computer-implemented method for designing an avatar with at least one garment, the method comprising the steps of: S1) providing a digital model of an avatar comprising a skeleton (SN) and a skin (SK) covering the skeleton; S2) providing a digital model of a garment (GT) comprising a mesh having a plurality of vertex (vg1-vg7) connected by edges defining faces, each vertex being associated to at least one bone (B1, B2) of the skeleton of the avatar through a respective weighting coefficient; S3) associating a displacement direction (dd1-dd7) to each vertex of the garment, said displacement direction depending on the skeleton and on said weighting coefficients; and S4) detecting collisions between the skin of the avatar and the garment and, whenever a collision is detected, displacing a vertex of the garment away from the skeleton of the avatar along said displacement direction. A computer program product, a computer-readable data storage means and a Computer Aided Design system for carrying out such a method, and an avatar wearing at least one garment, suitable to be designed by such a method.