According to my tests, by exporting fbx files from 3DS Max,
the external texture file names stored in the fbx file is actually UTF-8.

It means, KFbxFileTexture::GetFileName returns an UTF-8 string,
if the string contains complex characters like Chinese/Janpanese/Korean etc,
osgDB::readImageFile() cant found the file.

I suggest the fbx plugin to convert the file name from UTF-8 to current
code page before passing it to readImageFile, its not always the corret CP,
but its the best we can try here.

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=51086#51086





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to