Image on face problem


#1

Hi, I am now trying to import xml to skp now and I am facing a problem where the image is not correctly placed at the right place.

I am putting the image right on top of the back side of a face but when I import it attached to the other side.

The original skp
Back side


Front side

The imported skp
Back side


Front side

Does the sequence of adding images or face affect the result?

Segment of code

SUImageRef imageRef = SU_INVALID;

SUImageCreateFromFile(&imageRef,path1.c_str());
SUImageSetName(imageRef,image.file_name_);
SUEntitiesAddImage(entities,imageRef);
SUImageSetTransform(imageRef,&image.transform_);

SUGeometryInputRef geometry= SU_INVALID;
SUGeometryInputCreate(&geometry);

SUEntitiesFill(entities,geometry,true);

May I know how to place the image at the correct place? Thanks.