Closed ikcppdeveloper closed 5 months ago
Texture 'palm06.fbx../../../../../../Data/matrix/obj/palm/palm06.png0.png': Loading 1 faces(PF_A8B8G8R8,256x256x1) with 8 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,256x256x1. Error: preparing texture 'palm06.fbx../../../../../../Data/matrix/obj/palm/palm06.png./../../../../../Data/matrix/obj/palm/palm06.png.png'. Texture layer will be blank: Cannot locate resource palm06.fbx../../../../../../Data/matrix/obj/palm/palm06.png./../../../../../Data/matrix/obj/palm/palm06.png.png in resource group UserData.
Well, aren't those some pretty paths... 😂
I don't know about that option, but can you try to export everything into a single folder and try again?
Also why is it that the name of the texture is palm06.png.png
?
FBX SDK implements support to embed textures inside the fbx file using the EXP_FBX_EMBEDDED flag set to 'true' in the export settings, like if you use the raw buffers with 'image/png' mime type in glTF so the image will be stored inside the model file.
I checked the path value which is passed to the FBX SDK and it is a valid full file path, also you can check the file path's inside source fbx file, and it seems that they are also correct:
I don't know why the viewer shows such "strange" path's in logs :), but anyway why does importer use path's and tries to search texture file if it's embedded inside fbx file ...
Also when I don't use EXP_FBX_EMBEDDED setting the png file is placed beside the fbx file and all works as expected.
Do you know if this embedding of the textures is supported by ASSIMP?
OGRE uses that library to open FBX files because the native OGRE format is .mesh.
I'm not 100% sure but it's seems that yes
It seems that when using EXP_FBX_EMBEDDED property when exporting FBX format viewer do not take this settings into account and use the media relative file path instead when loading textures.
Logs:
Preview:
Source: palm06.zip
Blender:
Unity3D:
Autodesk:
Any suggestions of how to fix or have a workaround?