Wings 3D Development Forum
Error while exporting - Printable Version

+- Wings 3D Development Forum (https://www.wings3d.com/forum)
+-- Forum: Wings 3D (https://www.wings3d.com/forum/forumdisplay.php?fid=1)
+--- Forum: Bug Reports (https://www.wings3d.com/forum/forumdisplay.php?fid=12)
+--- Thread: Error while exporting (/showthread.php?tid=1455)



Error while exporting - Marcin Maćkowiak - 11-18-2015

Hi,

I downloaded some 3d model from internet and I`m getting an error (as below) while exporting obj, 3ds etc. from wings.

[Image: 2_zpsi5f0itl8.png]

What can couse the problem?


RE: Error while exporting - micheus - 11-18-2015

Well, you probably already noticed that the problem seems to be related to a map named map_Kd - when its data is about to be exported.

Any chance to provide a file with this kind of error?


RE: Error while exporting - Marcin Maćkowiak - 11-18-2015

I have been searching every cube but It was a texture problem... Is It posieble that texture with russian signs could cause issue?


RE: Error while exporting - micheus - 11-18-2015

(11-18-2015, 06:18 PM)Marcin Maćkowiak Wrote: Is It posieble that texture with russian signs could cause issue?
Yes.
Looking better to the message, it was when writing a text to the file. That '~s ~s' means two strings to be written. As for unicode output available recently, I think it should be replaced by '~ts ~ts':
'(...) The meaning of the modifier should be such that e.g. the formatting control "~ts" means a string in Unicode while "~s" means means a string in iso-latin-1. (...)' (from Formatting functions in this article).

To test if that fix the issue without a side effect still requires a problematic file.