Custom grid warper

I’ve just made (well nearly) a custom grid warping node, similar to grid edit, that I’m using with kontrolleur.

It’s mostly working ok, but there is one issue.

It uses a spline surface to modify the geometry of a grid, but the only way to allow the spline to not distort the ‘default’ grid (ie with no alterations/editing) is to set the degree value to 7 or higher, but this means the effect of moving each control point affects too much of the grid.

Is there a way round this?

dx9 and dx11 versions attached

warpgrid (dx9).v4p (45.7 kB)
warpgrid (dx11).v4p (166.8 kB)