IP Library Granted Patent US 7,298,374
Granted Patent B2
US 7,298,374 · App. 11/195,474 · Granted Nov 20, 2007

Scheme for providing wrinkled look in computer simulation of materials

View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 7,298,374
App. No.
11/195,474
Granted
Nov 20, 2007
Kind
B2
Abstract

Scheme for use in cloth simulation that provides a good dynamic “wrinkled” look to the cloth as it moves. The simulated area of each of the triangles in the triangle mesh is compared with the original area of the triangle to determine how much it got compressed or stretched during animation. This comparison is then used as a basis for altering the lighting of the pixels representing the triangles in order to improve the appearance of the wrinkles in the cloth. The lighting of each pixel is altered by altering a surface normal of the pixel using a value obtained from each of one or more normal maps. Normal maps are selected by using wrinkle ratios that are calculated based on the above mentioned comparisons.

Claims (55)

1. A method for use in simulation of a material, comprising the steps of:

establishing a polygon mesh for the material with each polygon in the polygon mesh having a first area equal to its area in a resting position;

animating the polygon mesh, the animation resulting in each polygon in the polygon mesh having a second area;

for each polygon in the polygon mesh, calculating a polygon wrinkle ratio by dividing the second area by the first area;

for each vertex in the polygon mesh, calculating a vertex wrinkle ratio as an average of the polygon wrinkle ratios for each polygon attached to the vertex; and

using the vertex wrinkle ratios in a process of altering lighting of pixels representing polygons in the polygon mesh.

2. A method in accordance with claim 1 , wherein the step of using the vertex wrinkle ratios in a process of altering lighting of pixels representing polygons in the polygon mesh comprises the steps of:

for each polygon in the polygon mesh, rasterizing the polygon to form screen pixels;

for each rasterized pixel in the polygon mesh, interpolating the wrinkle ratio per pixel based on the vertex wrinkle ratios; and

for each rasterized pixel in the polygon mesh, altering a surface normal of the pixel using a value obtained from each of one or more normal maps.

3. A method in accordance with claim 2 , wherein the step of using the vertex wrinkle ratios in a process of altering lighting of pixels representing polygons in the polygon mesh further comprises the step of:

for each rasterized pixel in the polygon mesh, using the interpolated wrinkle ratio to select the one or more normal maps.

4. A method in accordance with claim 3 , wherein the step of using the interpolated wrinkle ratio to select the one or more normal maps for each rasterized pixel in the polygon mesh comprises the step of:

for each rasterized pixel in the polygon mesh, calculating an adjusted wrinkle ratio by processing the interpolated wrinkle ratio with a function.

5. A method in accordance with claim 2 , wherein the step of using the vertex wrinkle ratios in a process of altering lighting of pixels representing polygons in the polygon mesh further comprises the step of:

for each rasterized pixel in the polygon mesh, using the altered surface normal for lighting the pixel.

6. A method in accordance with claim 2 , wherein the value obtained from each of the one or more normal maps comprises a surface normal.

7. A method in accordance with claim 1 , wherein the step of animating the polygon mesh comprises the step of:

animating the polygon mesh using a cloth simulation technique.

8. A method in accordance with claim 1 , wherein the material comprises clothing.

9. A system for use in simulation of a material, comprising:

means for establishing a polygon mesh for the material with each polygon in the polygon mesh having a first area equal to its area in a resting position;

means for animating the polygon mesh, the animation resulting in each polygon in the polygon mesh having a second area;

means for calculating a polygon wrinkle ratio for each polygon in the polygon mesh by dividing the second area by the first area;

means for calculating a vertex wrinkle ratio for each vertex in the polygon mesh as an average of the polygon wrinkle ratios for each polygon attached to the vertex; and

means for using the vertex wrinkle ratios in a process of altering lighting of pixels representing polygons in the polygon mesh.

10. A system in accordance with claim 9 , wherein the means for using the vertex wrinkle ratios in a process of altering lighting of pixels representing polygons in the polygon mesh comprises:

means for rasterizing each polygon in the polygon mesh to form screen pixels;

means for interpolating the wrinkle ratio per pixel for each rasterized pixel in the polygon mesh based on the vertex wrinkle ratios; and

means for altering a surface normal of each rasterized pixel in the polygon mesh using a value obtained from each of one or more normal maps.

11. A system in accordance with claim 10 , wherein the means for using the vertex wrinkle ratios in a process of altering lighting of pixels representing polygons in the polygon mesh further comprises:

means for using the interpolated wrinkle ratio for each rasterized pixel in the polygon mesh to select the one or more normal maps.

12. A system in accordance with claim 11 , wherein the means for using the interpolated wrinkle ratio for each rasterized pixel in the polygon mesh to select the one or more normal maps comprises:

means for calculating an adjusted wrinkle ratio for each rasterized pixel in the polygon mesh by processing the interpolated wrinkle ratio with a function.

13. A system in accordance with claim 10 , wherein the means for using the vertex wrinkle ratios in a process of altering lighting of pixels representing polygons in the polygon mesh further comprises:

means for using the altered surface normal for each rasterized pixel in the polygon mesh for lighting the pixel.

14. A system in accordance with claim 10 , wherein the value obtained from each of the one or more normal maps comprises a surface normal.

15. A computer program product comprising a computer storage medium for embodying a computer program for input to a computer and a computer program embodied in the computer storage medium for causing the computer to perform steps of:

establishing a polygon mesh for a material with each polygon in the polygon mesh having a first area equal to its area in a resting position;

animating the polygon mesh, the animation resulting in each polygon in the polygon mesh having a second area;

for each polygon in the polygon mesh, calculating a polygon wrinkle ratio by dividing the second area by the first area;

for each vertex in the polygon mesh, calculating a vertex wrinkle ratio as an average of the polygon wrinkle ratios for each polygon attached to the vertex; and

using the vertex wrinkle ratios in a process of altering lighting of pixels representing polygons in the polygon mesh.

16. A computer program product in accordance with claim 15 , wherein the step of using the vertex wrinkle ratios in a process of altering lighting of pixels representing polygons in the polygon mesh comprises the steps of:

for each polygon in the polygon mesh, rasterizing the polygon to form screen pixels;

for each rasterized pixel in the polygon mesh, interpolating the wrinkle ratio per pixel based on the vertex wrinkle ratios; and

for each rasterized pixel in the polygon mesh, altering a surface normal of the pixel using a value obtained from each of one or more normal maps.

17. A computer program product in accordance with claim 16 , wherein the step of using the vertex wrinkle ratios in a process of altering lighting of pixels representing polygons in the polygon mesh further comprises the step of:

for each rasterized pixel in the polygon mesh, using the interpolated wrinkle ratio to select the one or more normal maps.

18. A computer program product in accordance with claim 17 , wherein the step of using the interpolated wrinkle ratio to select the one or more normal maps for each rasterized pixel in the polygon mesh comprises the step of:

for each rasterized pixel in the polygon mesh, calculating an adjusted wrinkle ratio by processing the interpolated wrinkle ratio with a function.

19. A computer program product in accordance with claim 16 , wherein the step of using the vertex wrinkle ratios in a process of altering lighting of pixels representing polygons in the polygon mesh further comprises the step of:

for each rasterized pixel in the polygon mesh, using the altered surface normal for lighting the pixel.

20. A computer program product in accordance with claim 15 , wherein the step of animating the polygon mesh comprises the step of:

animating the polygon mesh using a cloth simulation technique.

Assignments (4)
MERGER Recorded Mar 30, 2020
From: SONY INTERACTIVE ENTERTAINMENT AMERICA LLC
To: SONY INTERACTIVE ENTERTAINMENT LLC
Reel/Frame 053323/0567 →
CHANGE OF NAME Recorded May 4, 2016
From: SONY COMPUTER ENTERTAINMENT AMERICA LLC
To: SONY INTERACTIVE ENTERTAINMENT AMERICA LLC
Reel/Frame 038611/0846 →
MERGER Recorded Feb 18, 2011
From: SONY COMPUTER ENTERTAINMENT AMERICA INC.
To: SONY COMPUTER ENTERTAINMENT AMERICA LLC
Reel/Frame 025836/0458 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Aug 2, 2005
From: STYLES, ANDREW GRAHAM
To: SONY COMPUTER ENTERTAINMENT AMERICA INC.
Reel/Frame 016838/0472 →