KhronosGroup / KhronosGroup/COLLADA2GLTF
COLLADA2glTF Silently Fails on Zipped Models
- Dominant language
- C++
- Stars
- 573
- Forks
- 154
- PR merge metrics
- No merged PRs in 30d
Description
Replaces https://github.com/KhronosGroup/glTF/issues/673 by @KermMartian
---
>Although COLLADA2glTF links against libz, making me assume it can understand model + textures zipped into a compressed archive, it generates a 474-byte gltf file containing no geometry. For example:
`baz@bar$ .foo/collada2gltf -r -e -f /somedir/struct.dae.zip -o /somedir/struct.gltf
converting:/somedir/struct.dae.zip ... as /somedir/struct.gltf
[Info]: current working directory:/someotherdir
[geometry] 0 bytes
[animations] 0 bytes
[scene] total bytes:0
[completed conversion]
Runtime: 0.00 seconds`
>
>It should either properly convert the model, or explicitly emit an error.
Contributor guide
No contributing guide indexed for this repository
Research direction
Run the documented collada2gltf command with the zipped model and confirm whether it produces an empty glTF without an error. Trace how the .dae.zip input is handled, then make the completed behavior either a valid conversion or an explicit error instead of a geometry-free success; verify both outcomes with a representative zipped model.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- cli
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100