Hello everyone.
I have a serious problem with which I have been struggling for a week.The problem is that while exporting from Blender to FSX I get an error:
AppData\Roaming\Blender Foundation\Blender\2.79\scripts\addons\io_scene_fsx\export_fsx.py", line 341, in Export
spawnv(P_WAIT, XToMdl, ['XToMdl.exe', '/XANIM', '/DICT:"%s"' % modeldef, '"%s"' % (Util.ReplaceFileNameExt(self.Config.filepath, '.x'))])
OSError: [Errno 0] Error
I exported from Blender 2.79 because I started this project a few years ago and it is very complicated and advanced.
I also tried exporting from Blender 2.92 and I get the same error.
I am using Blender2FSXP3D (v0.9.4) - (ii) in Blender 2.79 and Blender2P3DFSX 0.98.21 in Blender 2.92.
The error shows up when exporting to FSX, P3Dv2 and P3Dv3.
Exporting P3Dv4 and above runs smoothly (unfortunately the model is not displayed in FSX).
The model I am working on has been divided into two parts. Each part is on its own layer.
One part has 222k vertices and over 450 objects and the other has 100k vertices and 53 objects.Both groups have 86 textures in total,including 5 in common.
One more note - the materials used in the project are not PBR but Specular
I exported each part separately and each passed without any problems,but when I try to export both layers together I get the error mentioned by me.
I suspect the problem is due to the known limit of vertices per material,so I manipulated the materials and textures,but it didn't do anything.
Of course,I searched the entire forum,but did not find a solution.
I will be very grateful for any advice.
With the best regards.
Kowal.