-
-
Notifications
You must be signed in to change notification settings - Fork 573
Description
Hello,
I have attached a simple model (a 5-vertex pyramid with some colors) generated by a tool of my own, so there's still a possibility my exporter is buggy, though I believe I strictly followed the format specification.
Though, it loads properly in Blender 2.81, https://sandbox.babylonjs.com/, and is validated by http://github.khronos.org/glTF-Validator/
The output of the validator:
{ "uri": "bloc1.glb", "mimeType": "model/gltf-binary", "validatorVersion": "2.0.0-dev.3.2", "validatedAt": "2020-06-23T21:27:09.612Z", "issues": { "numErrors": 0, "numWarnings": 0, "numInfos": 1, "numHints": 0, "messages": [ { "code": "UNUSED_OBJECT", "message": "This object may be unused.", "severity": 2, "pointer": "/meshes/0/primitives/0/attributes/TEXCOORD_0" } ], "truncated": false }, "info": { "version": "2.0", "generator": "Guntha's Engine MeshBuilder::saveToGLB", "resources": [ { "pointer": "/buffers/0", "mimeType": "application/gltf-buffer", "storage": "glb", "byteLength": 268 } ], "animationCount": 0, "materialCount": 0, "hasMorphTargets": false, "hasSkins": false, "hasTextures": false, "hasDefaultScene": true, "drawCallCount": 1, "totalVertexCount": 5, "totalTriangleCount": 4, "maxUVs": 1, "maxInfluences": 0, "maxAttributes": 4 } }
In Firefox (77.0.1), it fails with the error "attempting to construct out-of-bounds TypedArray on ArrayBuffer"

And on Edge with the error "Invalid offset/length when creating typed array"
