Edit: changed the answer according to new images and clarification.
for every control point p(k, n)
p'(k, n) = ( p(k, n) - p(k) ) * d * l(k) + p(k, n)
where k
is the row index and n
is the column index of control point. l
is the elevation factor and is equal to {-1, -1/3, 1/3, 1}. p(k)
is the center of the k'th row.
Rationale: From the new