Closed paulmiller closed 2 years ago
This is the same issue as #45 and #49. Clearly user expectations does not match with how this library encodes external buffers which are not base64-encoded nor have the URI property set, it's time for doing a better job here.
So I was using it wrong. Thanks!
I'm trying to create a mesh from scratch and save it. I started with the example code in the readme:
I added:
This output
test.gltf
is:The buffer here has
"byteLength":56
but no"uri"
.If instead of
Save()
I useSaveBinary()
, the outputtest.glb
does have data.I'm using gltf v0.21.1 and go 1.17.