AB4D Forum
AssimpWpfImporter does not load filepaths with arabic characters - Printable Version

+- AB4D Forum (https://forum.ab4d.com)
+-- Forum: Products Forums (https://forum.ab4d.com/forumdisplay.php?fid=4)
+--- Forum: Ab3d.PowerToys (https://forum.ab4d.com/forumdisplay.php?fid=9)
+--- Thread: AssimpWpfImporter does not load filepaths with arabic characters (/showthread.php?tid=4333)



AssimpWpfImporter does not load filepaths with arabic characters - Nickelnext - 09-13-2022

Hi.

There is no support for arabic characters.
Can you please add support to it?

assimpWpfImporter.ReadModel3D(fileName) 
where filename = 'ؤهشخ'

crashes

Thank you


RE: AssimpWpfImporter does not load filepaths with arabic characters - abenedik - 09-13-2022

Sorry, but I cannot do much to fix that because the problem is in the native assimp library that does not support other characters. This is a known issue but it seems that it is not going to be fixed soon - see:
https://github.com/assimp/assimp/issues/2946


RE: AssimpWpfImporter does not load filepaths with arabic characters - abenedik - 10-13-2023

I would like to inform you that I have updated the AssimpNet library so that it now correctly reads the file that thave non-ascii characters in the file name. Textures with non-ascii file names are also correctly read.

You can get the updated version from:
https://github.com/ab4d/Ab3d.PowerToys.Wpf.Samples/tree/master/lib

You should get the AssimpNet.dll and Ab3d.PowerToys.Assimp.dll.
I would also recommend getting Assimp32.dll and Assimp64.dll - those are the new native assimp libraries v5.3.1 from 2023-09-25 (https://github.com/assimp/assimp/releases/tag/v5.3.1).