KhronosGroup / KhronosGroup/COLLADA2GLTF

Export settings for CityEngine

Open
#275 0 comments 1 reaction 0 assignees View on GitHub
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.
![image](https://user-images.githubusercontent.com/37137459/103658003-edd1a800-4f6a-11eb-8653-6dea16e22bbc.png)

The correct result should look like this (I tried different converter, however I would appreciate if I could use COLLADA2GLTF - I have multiple reasons):
![nadrazi_OK](https://user-images.githubusercontent.com/37137459/103658265-4608aa00-4f6b-11eb-8cfe-1e0b35d51898.PNG)

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.