X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=flow.cpp;h=f16eda22ac82e5458a85955bbed8b276c976d21e;hb=58ce28004e1e0b54a5af48d9f47fafae311c7726;hp=4f869cba8de3562717fde4487fee93d70e89d0b9;hpb=bd8e25af2de6c2251433954b548656de5e09b8a4;p=nageru diff --git a/flow.cpp b/flow.cpp index 4f869cb..f16eda2 100644 --- a/flow.cpp +++ b/flow.cpp @@ -695,11 +695,8 @@ void SetupEquations::exec(GLuint I_x_y_tex, GLuint I_t_tex, GLuint diff_flow_tex glDrawArrays(GL_TRIANGLE_STRIP, 0, 4); } -// Calculate the smoothness constraints between neighboring pixels; -// s_x(x,y) stores smoothness between pixel (x,y) and (x+1,y), -// and s_y(x,y) stores between (x,y) and (x,y+1). We'll sample with -// border color (0,0) later, so that there's zero diffusion out of -// the border. +// Actually solve the equation sets made by SetupEquations, by means of +// successive over-relaxation (SOR). // // See variational_refinement.txt for more information. class SOR {