glTF icon indicating copy to clipboard operation
glTF copied to clipboard

converter should propagate original IDs from COLLADA files

Open fabrobinet opened this issue 13 years ago • 16 comments

fabrobinet avatar Mar 19 '13 18:03 fabrobinet

currently blocked by https://github.com/KhronosGroup/OpenCOLLADA/issues/112

fabrobinet avatar Mar 19 '13 18:03 fabrobinet

This should be better already, but I'll make a full check.

fabrobinet avatar Oct 03 '13 06:10 fabrobinet

@fabrobinet can we close this?

pjcozzi avatar Mar 06 '14 22:03 pjcozzi

I need to double-check

fabrobinet avatar Mar 06 '14 22:03 fabrobinet

I need to double-check

Can we close this?

pjcozzi avatar Apr 30 '14 19:04 pjcozzi

no, still need to review all 3d entities and make sure they have the right ids.

fabrobinet avatar Apr 30 '14 19:04 fabrobinet

need to fix for animations - dev-8.

fabrobinet avatar Jul 14 '14 21:07 fabrobinet

need to fix for animations - dev-8.

Was this fixed?

pjcozzi avatar Aug 27 '15 11:08 pjcozzi

CC #235 (propagate names)

pjcozzi avatar Sep 01 '15 13:09 pjcozzi

@fabrobinet do you recall?

need to fix for animations - dev-8.

Was this fixed?

pjcozzi avatar Sep 01 '15 13:09 pjcozzi

@tfili can you evaluate this when your looking at name propagation (#235)?

pjcozzi avatar Oct 01 '15 14:10 pjcozzi

Just a quick look, the following look correct COLLADA geometry -> glTF mesh Lights Cameras Nodes Materials COLLADA controller -> glTF skin Images

Looks like animations and scenes need to have the ID propagated before we can close this.

tfili avatar Oct 02 '15 18:10 tfili

How hard do you think it is?

pjcozzi avatar Oct 02 '15 18:10 pjcozzi

@pjcozzi These are actually going to be pretty difficult. Animation handling is complicated because the converter flattens all animations for a node into a single animation, so preserving the ID doesn't make sense if there is more than one. If there is only one animation targeting a node, then it would make sense but the logic for the more complicated case makes it difficult.

As for scenes, OpenCOLLADA seems to be missing the getOriginalID() accessor, so that why it was never done. There is a comment in there for it //FIXME: should use this id -> visualScene->getOriginalId()

tfili avatar Oct 05 '15 18:10 tfili

OK, let's push this post 1.0. Can you create a new wiki page in this repo for COLLADA2GLTF limitations to document this? Then we'll close this issue.

pjcozzi avatar Oct 05 '15 20:10 pjcozzi

Created https://github.com/KhronosGroup/glTF/wiki/converter-limitations.

tfili avatar Oct 06 '15 15:10 tfili