could anyone help me to understand how to apply a lattice deformation on a 3D object, like the FFD modifier in 3DS max: http://www.3dmax-tutorials.com/FFD__Free_Form_Deformation__Modifier.html ?

I have found this thread, now closed, which is basically asking the same question but hasn't got enough information for me to understand how it's done - http://www.gamedev.net/topic/628822-lattice-deformer/ it mentions 'plug the value into the parametric equations for the deformed lattice' but doesn't explain what the parametric equations are.

From my limited knowledge I thought it would be a case of setting a weighted value between each lattice handle and each vertex in the model that i want to deform, and then using that weight to affect the x,y,z positions of each vertex in the model when deforming the control lattice. But so far my attempts have failed. Could anyone help explain the equations / algorithm needed to apply a 2x2 box/lattice deformation, similar to Max's FFD modifier, or point me in the direction of an article which would explain.

Many thanks

**Edited by SeanJD, 30 August 2014 - 09:14 AM.**