COLLADA2GLTF icon indicating copy to clipboard operation
COLLADA2GLTF copied to clipboard

2.0 - Gltfmodels have nodes with no name

Open danielma83 opened this issue 8 years ago • 5 comments

When converting Collada files to GLTF 2.0, the nodes without geometry have no names unlike the source collada file

danielma83 avatar Aug 31 '17 15:08 danielma83

@danielma83, can you attach your COLLADA file?

lasalvavida avatar Aug 31 '17 15:08 lasalvavida

Test_Cube.zip

danielma83 avatar Aug 31 '17 15:08 danielma83

The converter does write names to nodes. The node that you see in your model is the global Z_UP transform. The node Test_cube-node is an identity transform and it gets optimized out by removeUnusedNodes. This isn't really a bug. Kind of like #68, if there's interest in a flag to disable optimizations, that would be the way to go.

lasalvavida avatar Aug 31 '17 15:08 lasalvavida

If someone is interested in implementing this feature see my comments on #68.

lasalvavida avatar Aug 31 '17 15:08 lasalvavida

Thank you. We compiled a version that help us with the names. but that feature interests us 👍

danielma83 avatar Aug 31 '17 16:08 danielma83