When a binary FBX file containing embedded media is imported, the media will be extracted from the file and copied into a subdirectory. This subdirectory will be created at the location of the FBX file with the same name as the file, with the extension .fbm. For example, the embedded media contained in the file <path>\MyScene.fbx will be extracted into the subdirectory <path>\MyScene.fbm\.
// The resource file is in the application's directory. KString lTexPath = gAppPath + "\\Crate.jpg"; // Create a texture object. KFbxFileTexture* lTexture = KFbxFileTexture::Create(pScene,"Crate Texture"); // Set the texture's absolute file path. lTexture->SetFileName(lTexPath.Buffer())