KhronosGroup / COLLADA2GLTF

COLLADA to glTF converter
Other
531 stars 155 forks source link

No errors and no output file #210

Open hugoam opened 5 years ago

hugoam commented 5 years ago

Running collada2gltf on this file: https://github.com/godotengine/tps-demo/blob/master/level/geometry/demolevel.dae Doesn't produce any output, nor does it produce any errors.

lasalvavida commented 5 years ago

Hi @hugoam. I am able to convert the model you provided, so I'm hoping you can clarify your issue a bit.

Are you saying that no output glTF file is written, or that the output isn't what you're expecting?

This COLLADA file appears to have a lot of problems (degenerate geometry, absolute paths for texture images) but it does convert, so if you aren't getting an output glTF file, I'd like to know what system you're running on, what version of COLLADA2GLTF and which flags (if any) you are using.

hugoam commented 5 years ago

I'm using the last release version found here: https://github.com/KhronosGroup/COLLADA2GLTF/releases on Windows 10 64bit. I tried both 64 and 32bit version of last release. I am getting the warnings for unresolved file locations, and then nothing more. There is strictly no file output in the output folder. Since there are no error messages it's hard to debug the issue on my part :/ I thought it might be a file access right issue, but I'm running the command in cmd.exe as administrator. The output folder is created, but no file is created inside.

lasalvavida commented 5 years ago

Just wanted to let you know I didn't forget about this - I was travelling last week. I am back now and will take a look at this on my Windows machine when I get a chance.

lasalvavida commented 5 years ago

This model conversion does appear to segfault on windows.

With it working on linux and not on windows, it's probably something like #194. My suspicion is that there is some malformed data in the model that OpenCOLLADA is choking on, but it will likely take me some time to figure out where since the model is so large.

shortwavedave commented 4 years ago

I'm having the same issue. My guess is that there is something malformed in the file, but I don't see anything and collada2gltf doesn't output any information