Eulerian Smoke Simulation on the GPU
|
A semi-Lagrangian advection kernel. More...
Functions | |
__kernel void | advect (__read_only image3d_t _velocityR, __global float4 *o_fieldW, __read_only image3d_t _fieldR, __read_only image3d_t _obstacles, float _dissipation, float _timestep) |
A semi-Lagrangian advection kernel. |
A semi-Lagrangian advection kernel.
__kernel void advect | ( | __read_only image3d_t | _velocityR, |
__global float4 * | o_fieldW, | ||
__read_only image3d_t | _fieldR, | ||
__read_only image3d_t | _obstacles, | ||
float | _dissipation, | ||
float | _timestep | ||
) |
A semi-Lagrangian advection kernel.
[in] | _velocityR | the velocity field [read image] |
[in,out] | o_fieldW | the field to advect [write buffer] |
[in] | _fieldR | the field to advect [read image] |
[in] | _obstacles | the obstacles field [read image] |
[in] | _dissipation | the dissipation factor |
[in] | _timestep | the simulation's time-step |