guillaumechereau / goxel

Goxel: Free and Open Source 3D Voxel Editor
GNU General Public License v3.0
2.74k stars 219 forks source link

json error when importing glTF file into Blender #243

Closed brylie closed 1 year ago

brylie commented 3 years ago

When I export a gltf file both with and without the vertex color from Goxel 0.10.7 and then try to import the file in Blender, I get the following error:

bad glTF: json error: Expecting ',' delimiter ...

image

guillaumechereau commented 3 years ago

Could you send me a small Goxel file and exported glTF that doesn’t work? I juste tried but it seems to work on my machine.

On Thu, May 27, 2021 at 11:15 PM Brylie Christopher Oxley < @.***> wrote:

When I export a gltf file both with and without the vertex color from Goxel 0.10.7 and then try to import the file in Blender, I get the following error:

bad glTF: json error: Expecting ',' delimiter ...

[image: image] https://user-images.githubusercontent.com/17307/119851416-0db43900-bf17-11eb-8451-e93c214ca96b.png

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/guillaumechereau/goxel/issues/243, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA2JH3TODZWGBQPNTSC56DTPZOXPANCNFSM45URBE3A .

-- Sent from my iPad.

brylie commented 3 years ago

Below is an example of a glTF file I exported from Goxel:

3d.gltf.zip

brylie commented 3 years ago

I tried again and created a simple export and it works with vertex shading both on and off.

The only thing that comes to mind that may be causing the import issue and perhaps #244 is that I was trying out the plane tool. I'm not sure really.

guillaumechereau commented 3 years ago

Thanks. I think the issue is related to your computer locale, that shows decimal numbers with a coma. I’ll see if I can fix that.

On Thu, May 27, 2021 at 11:42 PM Brylie Christopher Oxley < @.***> wrote:

Below is an example of a glTF file I exported from Goxel:

3d.gltf.zip https://github.com/guillaumechereau/goxel/files/6555210/3d.gltf.zip

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/guillaumechereau/goxel/issues/243#issuecomment-849738758, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA2JH34LQFIXZA57DINISLTPZR4RANCNFSM45URBE3A .

-- Sent from my iPad.

guillaumechereau commented 3 years ago

Do you use windows or Mac or Linux?

On Thu, May 27, 2021 at 11:50 PM Brylie Christopher Oxley < @.***> wrote:

I tried again and created a simple export and it works with vertex shading both on and off.

The only thing that comes to mind that may be causing the import issue and perhaps #244 https://github.com/guillaumechereau/goxel/issues/244 is that I was trying out the plane tool. I'm not sure really.

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/guillaumechereau/goxel/issues/243#issuecomment-849741365, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA2JH7H4PLLRSRFK2ZSBLDTPZSJNANCNFSM45URBE3A .

-- Sent from my iPad.

brylie commented 3 years ago

Linux

guillaumechereau commented 3 years ago

Ok then I think I fixed the bug. You can try to compile again if you know how to do it.

On Fri, May 28, 2021 at 12:24 AM Brylie Christopher Oxley < @.***> wrote:

Linux

— You are receiving this because you commented.

Reply to this email directly, view it on GitHub https://github.com/guillaumechereau/goxel/issues/243#issuecomment-849769555, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAA2JH4PN4UARMRDRPKZTMTTPZW45ANCNFSM45URBE3A .

-- Sent from my iPad.

brylie commented 3 years ago

Thanks :-)

I'll probably wait for the next release

guillaumechereau commented 1 year ago

I think I can close this issue now right?

brylie commented 1 year ago

Jep, thanks for your help :-)