some segments are missing in gltf models

Hi all,

I converted some models from ShapeFile to COLLADA and then to glTF. But some segments are missing. What can be the source of problem?

I have attached a screen shot of my model.

Thanks.

Can you post the model files?

The problem is that the normals are facing inconsistent directions in the dae, and since the CULL_FACE state is enabled in the gltf chunks of the model where the normal is facing the wrong way are not visible. The quickest fix is to edit the gltf model so that CULL_FACE is removed from the states:

“states”: {

“enable”: [

2929

]

},

Otherwise something will need to be fixed in the ShapeFile to COLLADA process, and I’m not sure what.