Skip to content

GLB Export not working #334

Locked Answered by atteneder
akuttervrinsightde asked this question in Q&A
Discussion options

You must be logged in to vote

@akuttervrinsightde Thanks for the report.

Some of the float values (e.g. of the translation/rotation) are serialized using float.ToString("R"). This is not culture-invariant, so assuming your machin is configured to German the output is incorrect (comma instead of decimal point)

How it is in your files:

"translation": [
    -2,
    35910491E-07,
    1,
    84,
    2,
    68133533E-07
]

What should be:

"translation": [
    -2.35910491E-07,
    1.84,
    2.68133533E-07
]

I'll fix it for the next release.

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@atteneder
Comment options

Answer selected by atteneder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants