microsoft/glTF-Toolkit

Need help with creating draco mesh straight from gltf-sdk

Yejneshwar opened this issue · 0 comments

Hi,

I've been trying to use the toolkit with the gltf-SDK to generate a .glb file with Draco mesh compression. (without the file being saved by the SDK first.)

I keep getting the error Buffer.uri was not specified

If I try the .gltf file there is heap corruption at

auto bufferView = builder->AddBufferView(buffer.data(), buffer.size());

This is what buffer.data() prints for a buffer of any size :
DRACO☻☻☺☺

Any help would be appreciated, thanks!