Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Export settings for CityEngine #275

Open
tramka opened this issue Jan 5, 2021 · 0 comments
Open

Export settings for CityEngine #275

tramka opened this issue Jan 5, 2021 · 0 comments

Comments

@tramka
Copy link

tramka commented Jan 5, 2021

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

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

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant