Strange problem

I’m using the sample wrapping script…
when I go in rigid aligment, I can place points on my scan but when I try to place on my basemesh, the point is not placed on the front of the mesh but on the other side on the mesh (on the back) … then place a point on the nose and you get it on the other side… on the hairs…
I used the basemesh in Wrap without any problem…
what can I do ?

That may happen when a model has very small scale.

Try to increase the scale a hundred times by changing the following line in the script from this
basemesh = wrap.Geom(basemeshFileName)
to this
basemesh = wrap.Geom(basemeshFileName, scaleFactor = 100)

Please let me know if it works for you

ok.. I converted the script…

1. Loading Basemesh

print “Loading basemesh…”
basemeshFileName = wrap.openFileDialog(“Select Basemesh”,filter = “OBJ-file (*.obj)”,dir = wrap.demoModelsPath)
basemesh = wrap.Geom(basemeshFileName, scaleFactor = 100)
print “OK”

but the problem remains the same…
it is strange to me because the same mesh works witout any problem wit wrap 2.3…
You can see the point on the basemesh appaering on the other side…

Ah I see, it seems like the normals on the model are flipped. By default WrapX draw front faces with blue and back faces with grey, like in this case.

You’ve got to flip normals in any 3D-editor (in 3dsMax it’s Normal modifier) before feeding model into WrapX. Beware of flipped normals as they may lead to incorrect wrapping.

thanks a lot ! it worked perfectly…