cesium
cesium copied to clipboard
An error occurs in ModelOutlineLoader.js, about triangleIndices in gltf of b3dm
An error just occured here:
This is why it come in to the error point,when the count of triangleIndices and the max value of triangleIndices are both lower than 65534 (MAX_GLTF_UINT16_INDEX)
I just want to know what is the function(matchAndStoreCoordinates) doing?And why tranverse loadResources.indexBuffersToCreate._array ,when transform the original triangleIndices to Uint32Array from Uint16Array?
As far as i am concerned, this array was just erased by gltf loading code before,maybe it is a mistake?Because i tried to delete this part, and it is running well.
@ptrgags or @lilleyse Any insight here?
This code is my fault, so let me know if you need me to take a look. @Fivedogs it might be helpful if you could provide us with the model you're using, since the problem is probably triggered by something semi-unusual about the particular model.
Thanks for your reply,this is the model which triggered the problem. If you solve this problem or find the semi-unusual thing in this model,please tell me. Have a nice day! 3dtileAndGltf.zip
Hi @Fivedogs,
I downloaded your data and tried the tileset with enableModelExperimental: true
, and it seems to load now. Can you verify that it works for you?
@Fivedogs I'm closing this issue, since I believe it has been solved with the latest Model
changes. Feel free to reopen if you're still experiencing issues.