CPC G06F 30/20 (2020.01) [G06T 15/04 (2013.01); G06T 17/10 (2013.01); G06T 2210/24 (2013.01)] | 16 Claims |
1. A method of simulating a fluid, comprising:
determining fluid surface location information comprising a new fluid volume, the determining comprising;
taking into account an underlying 3D object along which the fluid flows;
determining 3D location elements for the fluid's surface;
determining inflow and/or outflow using an air diffusion approach, wherein the air diffusion approach comprises determining inflow and/or outflow between a grid cell and neighboring grid cells using at least one of a dither pattern or a Bresenham line pattern; and
determining a new fluid volume using the original fluid volume, the inflow and the outflow; and
generating a fluid simulation using the location information for the fluid's surface.
|