OBJ export dont work correct
Bug #115178 reported by
Bostich
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Freyja |
Fix Released
|
Low
|
Unassigned |
Bug Description
Any model i exportet to obj wont be open in other tools.
Freyja Version: 0.9.5.8-20070514, Win32 binary snapshot.
For export i use
File -> Export -> Wavefront OBJ.
Scale is in most case 1.0.
a test file can be found here http://
Changed in freyja3d: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
What locale and OS are you using?
I see the comma instead of decimal like they use in Germany:
v 0,824290 9,221645 -10,306935
POSIX:
v -0.847301 41.707569 3.201557
Perhaps your problem is that other programs don't support your locale! Other than that the file is completely 'correct', however the model appears to have invalid UVs. Try doing a search and replace of comma with period. It should import into maya correctly. I suppose I could fix this by always forcing period, however some software won't like that either.
From the printf manpage:
<blockquote>
printf( "%’.2f" , 1234567.89);
For some numeric conversions a radix character (‘decimal point’) or
thousands’ grouping character is used. The actual character used
depends on the LC_NUMERIC part of the locale. The POSIX locale uses ‘.’
as radix character, and does not have a grouping character. Thus,
results in ‘1234567.89’ in the POSIX locale, in ‘1234567,89’ in the
nl_NL locale, and in ‘1.234.567,89’ in the da_DK locale.
</blockquote>