Had a look at the code for the displacement vectors and the final call to wire3d in the render method no longer likes that you didn't duplicate the normals when you duplicated the dimensions of rest of the mesh. It seems to come from a change in wire3d and not Morpho, but this fix addresses issue #27 .
data(nose)##load data
##warp a mesh onto another landmark configuration:
longnose.mesh <- tps3d(shortnose.mesh, shortnose.lm, longnose.lm,threads=1)
## Not run:
mD <- meshDist(longnose.mesh, shortnose.mesh, displace = T)
bg3d(1)
render(mD,rampcolors = c("white","red"), displace = T, alpha = 0)
Had a look at the code for the displacement vectors and the final call to wire3d in the render method no longer likes that you didn't duplicate the normals when you duplicated the dimensions of rest of the mesh. It seems to come from a change in wire3d and not Morpho, but this fix addresses issue #27 .