Hello,

 There is a problem in loading textures while reading OSG files. The
textures that have russian letters in absolute path aren't loaded. The
geometry is loaded, but textures are not. What could be the cause?
 I saw somewhere in OSG an option to use Unicode strings, but didn't
find examples on that. Maybe this would help?

here is an OSG log:

> FindFileInPath() : trying C:\Users\Дядя Вася
> молодец\AppData\Local\Temp\playtemp\fonts\arial.ttf ...
> itr='C:/winnt/fonts'
> FindFileInPath() : trying C:\winnt\fonts\fonts\arial.ttf ...
> itr='C:/windows/fonts'
>
> Player: load 3d object ... ./osg/dm1.osg
> FindFileInPath(./osg/dm1.osg): returning ./osg/dm1.osg
> itr='C:\Users\Дядя Вася молодец\AppData\Local\Temp\playtemp'
> FindFileInPath() : trying C:\Users\Дядя Вася
> молодец\AppData\Local\Temp\playtemp\osgPlugins-2.8.1\osgdb_jpeg.dll
> ...
> itr='C:\Windows\system32'
> FindFileInPath() : trying
> C:\Windows\System32\osgPlugins-2.8.1\osgdb_jpeg.dll ...
> FindFileInPath() : USING C:\Windows\System32\osgPlugins-2.8.1\osgdb_jpeg.dll
> Opened DynamicLibrary osgPlugins-2.8.1/osgdb_jpeg.dll
> itr='./osg'
> FindFileInPath() : trying C:\Users\Дядя Вася
> молодец\AppData\Local\Temp\playtemp\osg\images\box_bottom.jpg ...
> FindFileInPath() : USING C:\Users\Дядя Вася
> молодец\AppData\Local\Temp\playtemp\osg\images\box_bottom.jpg
> itr='./osg'
> FindFileInPath() : trying C:\Users\Дядя Вася
> молодец\AppData\Local\Temp\playtemp\osg\images\polozia.jpg ...
> FindFileInPath() : USING C:\Users\Дядя Вася
> молодец\AppData\Local\Temp\playtemp\osg\images\polozia.jpg
> itr='./osg'
> FindFileInPath() : trying C:\Users\Дядя Вася
> молодец\AppData\Local\Temp\playtemp\osg\images\tabl_oboroti_tormoza.jpg
> ...
> FindFileInPath() : USING C:\Users\Дядя Вася
> молодец\AppData\Local\Temp\playtemp\osg\images\tabl_oboroti_tormoza.jpg
> itr='./osg'
> FindFileInPath() : trying C:\Users\Дядя Вася
> молодец\AppData\Local\Temp\playtemp\osg\images\tabl_moment_tormoza.jpg
> ...
> FindFileInPath() : USING C:\Users\Дядя Вася
> молодец\AppData\Local\Temp\playtemp\osg\images\tabl_moment_tormoza.jpg
> itr='C:\Users\Дядя Вася молодец\AppData\Local\Temp\playtemp'
> FindFileInPath() : trying C:\Users\Дядя Вася
> молодец\AppData\Local\Temp\playtemp\osgPlugins-2.8.1\osgdb_png.dll ...
> itr='C:\Windows\system32'
> FindFileInPath() : trying C:\Windows\System32\osgPlugins-2.8.1\osgdb_png.dll 
> ...
> FindFileInPath() : USING C:\Windows\System32\osgPlugins-2.8.1\osgdb_png.dll
> Opened DynamicLibrary osgPlugins-2.8.1/osgdb_png.dll
> itr='./osg'
> FindFileInPath() : trying C:\Users\Дядя Вася
> молодец\AppData\Local\Temp\playtemp\osg\images\strelka.png ...
> FindFileInPath() : USING C:\Users\Дядя Вася
> молодец\AppData\Local\Temp\playtemp\osg\images\strelka.png
> itr='./osg'
> FindFileInPath() : trying C:\Users\Дядя Вася
> молодец\AppData\Local\Temp\playtemp\osg\images\strelka.png ...
> FindFileInPath() : USING C:\Users\Дядя Вася
> молодец\AppData\Local\Temp\playtemp\osg\images\strelka.png
> itr='./osg'
> FindFileInPath() : trying C:\Users\Дядя Вася
> молодец\AppData\Local\Temp\playtemp\osg\images\oboti_tormoza.jpg ...
> FindFileInPath() : USING C:\Users\Дядя Вася
> молодец\AppData\Local\Temp\playtemp\osg\images\oboti_tormoza.jpg
> itr='./osg'
> FindFileInPath() : trying C:\Users\Дядя Вася
> молодец\AppData\Local\Temp\playtemp\osg\images\moment_tormoza.jpg ...
> FindFileInPath() : USING C:\Users\Дядя Вася
> молодец\AppData\Local\Temp\playtemp\osg\images\moment_tormoza.jpg
> itr='./osg'
> FindFileInPath() : trying C:\Users\Дядя Вася
> молодец\AppData\Local\Temp\playtemp\osg\images\pult.jpg ...
> FindFileInPath() : USING C:\Users\Дядя Вася
> молодец\AppData\Local\Temp\playtemp\osg\images\pult.jpg
> itr='./osg'
> FindFileInPath() : trying C:\Users\Дядя Вася
> молодец\AppData\Local\Temp\playtemp\osg\images\remen_rotmoz.jpg ...
> FindFileInPath() : USING C:\Users\Дядя Вася
> молодец\AppData\Local\Temp\playtemp\osg\images\remen_rotmoz.jpg
> itr='./osg'
> FindFileInPath() : trying C:\Users\Дядя Вася
> молодец\AppData\Local\Temp\playtemp\osg\images\skif_map.jpg ...
> FindFileInPath() : USING C:\Users\Дядя Вася
> молодец\AppData\Local\Temp\playtemp\osg\images\skif_map.jpg
> itr='./osg'
> FindFileInPath() : trying C:\Users\Дядя Вася
> молодец\AppData\Local\Temp\playtemp\osg\images\pruzina03.jpg ...
> FindFileInPath() : USING C:\Users\Дядя Вася
> молодец\AppData\Local\Temp\playtemp\osg\images\pruzina03.jpg
> itr='./osg'
> FindFileInPath() : trying C:\Users\Дядя Вася
> молодец\AppData\Local\Temp\playtemp\osg\images\podshipnik01.jpg ...
> FindFileInPath() : USING C:\Users\Дядя Вася
> молодец\AppData\Local\Temp\playtemp\osg\images\podshipnik01.jpg



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

Reply via email to