Closed xackery closed 2 years ago
Can you check if you are facing the same problem as in #45?
Can you check if you are facing the same problem as in #45?
Yep, adding:
for _, buff := range doc.Buffers {
buff.EmbeddedResource()
}
fixed it. It may be worthwhile adding this to the README as a note, it isn't obvious. Thanks!
https://github.com/qmuntal/gltf/blob/58807b50227bd15975e015ce2c4242efa3db9568/example_test.go#L17
If you change last line to:
You get
seems glb and gltf aren't treated same? any tips to resolve the above?