Wings 3D Development Forum
Error while exporting - Printable Version

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



Error while exporting - Marcin Maćkowiak - 11-18-2015 02:06 PM

Hi,

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



What can couse the problem?


RE: Error while exporting - micheus - 11-18-2015 04:48 PM

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 06:18 PM

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 06:59 PM

(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.