vengi-voxel / vengi

free and open source voxel art tools - editor, thumbnailer and format converter
http://vengi-voxel.github.io/vengi/
Other
1.08k stars 90 forks source link

Generates invalid gltf #277

Closed stefnotch closed 1 year ago

stefnotch commented 1 year ago

When running vengi-voxconvert.exe --input "entrance.vox" --output entrance.gltf, then I do get a gltf file. However, that file is invalid, and as such, Blender 3.5 refuses to open it.

The validity of the gltf file can be tested using https://github.khronos.org/glTF-Validator/

Apparently it's not happy about the cameras with a znear and zfar of 0.

Here's the test file. Please rename it to entrance.vox

On that note, I also noticed that the transformations might be off. I'll gladly open a new issue for that.

Version: 0.0.24

mgerhardy commented 1 year ago

should be fixed - thanks a lot for the report.