KhronosGroup / KhronosGroup/COLLADA2GLTF
Export settings for CityEngine
- Dominant language
- C++
- Stars
- 573
- Forks
- 154
- PR merge metrics
- No merged PRs in 30d
Description
Hi guys,
I am trying to visualize 3d projects in GIS systems. I have got COLLADA files which I need to remake to GLTF files, open them in CityEngine and publish them on Web. After some time spending with exploration, I realised that the best way is to create GLTF files.
So I decided to use COLLADA2GLTF:
`COLLADA2GLTF-v2.1.5-windows-Release-Win32>COLLADA2GLTF-bin.exe -i Z:\Khronos\JS\201216_Nadr_JS_SKP.dae -o Z:\Khronos\JS\EXPORT\js_nadrazi.gltf -v 2.0 -b true`
In glTF Validator, file is correct without any errors. I have got few messages including:
`"Image has non-power-of-two dimensions: 530x530."` (7 times)
and
`ACCESSOR_INDEX_TRIANGLE_DEGENERATE` (8 times)
When I try to open the file in CE, the result is not correct.

The correct result should look like this (I tried different converter, however I would appreciate if I could use COLLADA2GLTF - I have multiple reasons):

I am not sure if the problem is with the tool, the export settings or in CityEngine. Do you have any ideas where could be the problem?
Thanks.
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the COLLADA2GLTF-v2.1.5 command with the provided .dae input and compare the result in CityEngine with the glTF Validator warnings. The issue is resolved when the source of the incorrect rendering—converter settings, the tool, or CityEngine—is identified and documented with reproducible details.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- computer-graphics
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 20/100