Python Forum

Full Version: Python 3D mesh deformation
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello,

I am currently searching a way to apply a 3d deformation to a 3d mesh (i.e. warp). I know that Bicubic Bspline warp and Thin-plate spline warp allow to make such deformations however as far as I understood splev function only allow to interpolate data (e.g. z_interpolate=f(x,y)) and can not directly be used to compute a warp.

I saw that PyGem toolbox should be able to do the job but I am probably missing something because I am a bit surprised that I cannot easily use classical python module to warp/deform a 3d mesh using Bicubic Bspline warp (I guess by stacking warp function on x,y and z axis).

I am sorry for this basic question but I am a bit lost. Thank you for your help.
see: https://blender.stackexchange.com/questi...thon/51415
seems this could be modified for whatever graphics you are using.