Patent ID: 8237722

Claim:
A method for simulating and visualizing an interaction between an object and a falling fluid, comprising: simulating the falling fluid as a two-dimensional plane; rendering a first one-dimensional depth buffer and a second one-dimensional depth buffer, the first and second depth buffers corresponding to current depth information for, respectively, a top surface and a bottom surface of the object; rendering values of a first current simulation texture for the top surface of the object, wherein for a given frame each of the first current simulation texture values is set to one of: a corresponding value of the first depth buffer and a corresponding, velocity-offset value of the previous frame's first simulation texture; rendering values of a second current simulation texture for the bottom surface of the object, wherein for the given frame each of the second current simulation texture values is set to one of: a corresponding value of the second depth buffer and a corresponding, velocity-offset value of a previous frame's second simulation texture; and rendering a visible fluid mesh in the two-dimensional plane based on the current simulation textures.