Advection of UV texture maps in fluid flows
AssigneePixar
InventorsMichael K. O'Brien, Allen Hemberger
Life of this patent
Estimating the term…
Abstract
A simulation application models a surface of a fluid in motion. The simulation application selects a mesh point from a plurality of mesh points that is associated with the surface of the fluid. The simulation application retrieves a first texture element from a set of uv texture maps, and attaches a first displacement value to the mesh point based on the first texture element. The simulation application advects the first displacement value over a first duration represented by a first quantity of image frames such that the first displacement value remains attached to the mesh point as the plurality of mesh points moves in response to a motion of the fluid.
Claims15
A computer-implemented method for modeling a surface of a fluid in motion, the method comprising:
- selecting a mesh point from a plurality of mesh points that is associated with the surface of the fluid;
- retrieving a first texture element from a set of UV texture maps;
- attaching a first displacement value to the selected mesh point based on the first texture element;
- retrieving a second texture element from the set of UV texture maps;
- attaching a second displacement value to the selected mesh point based on the second texture element;
- advecting the first displacement value over a first duration represented by a first quantity of image frames such that the first displacement value remains attached to the selected mesh point as the plurality of mesh points moves in response to a motion of the fluid;
- and
- advecting the second displacement value over a second duration represented by a second quantity of image frames such that the second displacement value remains attached to the selected mesh point as the plurality of mesh points moves in response to the motion of the fluid,
- wherein a beginning of the second duration is offset in time from a beginning of the first duration by a third quantity of image frames, and wherein the third quantity of image frames is less than at least one of the first quantity of image frames and the second quantity of image frames.
A non-transitory computer-readable storage medium storing instructions that, when executed by a processor, cause the processor to model a surface of a fluid in motion, by performing the steps of:
- selecting a mesh point from a plurality of mesh points that is associated with the surface of the fluid;
- retrieving a first texture element from a set of UV texture maps;
- attaching a first displacement value to the selected mesh point based on the first texture element;
- retrieving a second texture element from the set of UV texture maps;
- attaching a second displacement value to the selected mesh point based on the second texture element;
- advecting the first displacement value over a first duration represented by a first quantity of image frames such that the first displacement value remains attached to the selected mesh point as the plurality of mesh points moves in response to a motion of the fluid;
- and
- advecting the second displacement value over a second duration represented by a second quantity of image frames such that the second displacement value remains attached to the selected mesh point as the plurality of mesh points moves in response to the motion of the fluid,
- wherein a beginning of the second duration is offset in time from a beginning of the first duration by a third quantity of image frames, and wherein the third quantity of image frames is less than at least one of the first quantity of image frames and the second quantity of image frames.
A computing system, comprising:
- a memory that is configured to store instructions for a program;
- and
- a processor that is configured to execute the instructions for the program to model a surface of a fluid in motion, by performing the steps of:
- selecting a mesh point from a plurality of mesh points that is associated with the surface of the fluid;
- retrieving a first texture element from a set of UV texture maps;
- attaching a first displacement value to the selected mesh point based on the first texture element;
- retrieving a second texture element from the set of UV texture maps;
- attaching a second displacement value to the selected mesh point based on the second texture element;
- advecting the first displacement value over a first duration represented by a first quantity of image frames such that the first displacement value remains attached to the selected mesh point as the plurality of mesh points moves in response to a motion of the fluid;
- advecting the second displacement value over a second duration represented by a second quantity of image frames such that the second displacement value remains attached to the selected mesh point as the plurality of mesh points moves in response to the motion of the fluid,
- wherein a beginning of the second duration is offset in time from a beginning of the first duration by a third quantity of image frames, and wherein the third quantity of image frames is less than at least one of the first quantity of image frames and the second quantity of image frames.
Dependencies are inferred from the claim text.