Gltf-blender-io: All export formats are embedding texture buffers

Created on 4 Dec 2018  路  3Comments  路  Source: KhronosGroup/glTF-Blender-IO

It appears that all export format options, including JSON (.gltf + .bin + textures), are embedding texture buffers in the .gltf or .bin file, even when the textures are exported separately and called externally.

I'd mostly expect the buffers to be embedded for .glb, but there doesn't appear to be a way to _not_ embed them in .gltf or .bin.

image

My guess is that the now removed Embed buffers option might now be automatically defaulting to true regardless of whether or not the buffers are used, but you folks would know better than I.

image

bug exporter

Most helpful comment

Is now merge in blender 2.8. Should be available in next build

All 3 comments

Hm, yeah textures were meant to be separate for the JSON (.gltf + .bin + textures) option, and embedded in the other two. Sounds like a bug in my earlier PR.

Just for documentation purposes: Not only do both gltf variants export image data twice (as image file and as part of the binary buffer), but they also reference both representations in the json (see below).

{
    "bufferView" : 4,
    "mimeType" : "image/png",
    "name" : "UVdark.tga",
    "uri" : "UVdark.png"
}

Is now merge in blender 2.8. Should be available in next build

Was this page helpful?
0 / 5 - 0 ratings

Related issues

4DA picture 4DA  路  5Comments

spiraloid picture spiraloid  路  3Comments

julienduroure picture julienduroure  路  3Comments

Quinten123 picture Quinten123  路  5Comments

scurest picture scurest  路  4Comments