Ensure GLB data is padded to 8-byte alignment so that validation checks pass#80
Ensure GLB data is padded to 8-byte alignment so that validation checks pass#80HeDo88TH merged 3 commits intoOpenDroneMap:masterfrom
Conversation
|
The 'children' array should contain at least 1 element checkin: Updated TilingStage to create it only if it exists in order to clear the warning in the validator. |
|
Fixed BUFFER_VIEW_TARGET_MISSING warning: (external) Obj2Gltf converter does not define bufferView.target property for UvAccessor and this creates a warning hint in the validator. |
|
Good work 👍 |
In order for data validation checks pass when using 3d-tiles-validator, it is required that the tile bytelength is packed to 8-byte boundary.
In order to do this, we must pad the potentially unbounded gltf file so that the validation check pass.
In the latest discussions it is clarified that padding should be added to the end of the .b3dm tile instead od padding the binary gltf file.
What the spec requires (so the validator stops complaining):
What is done:
That guarantees the GLB starts on an 8-byte boundary.
Additionally ensure the GLB length is a multiple of 8, or pad with 0x20 after the .glb data
this should fix #77 and #46