摘要 |
<p>Method and device for deforming mesh element(s) associated with a virtual scene according to a curve surface. The method comprises defining in a procedural way a path (1) comprising a first segment (11) and a second segment (12) adjacent to said first segment (11), each segment being defined with two first points (100, 101, 102) forming the extremities of each segment and with at least a second point (201, 202, 203, 204), the first line segment (11) and the second line segment (12) having a first point (101) in common, the second point (202) of the first segment (11) closest to the common first point (101) and the second point (203) of the second segment (12) closest to the common first point (101) being defined in such a way that both second points (202, 203) are aligned with the common first point (101); and deforming the at least a mesh element (5) according to the curve surface (53) computed according to the first (101, 102, 103) and second points (201, 202, 203, 204).</p> |