You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am trying to convert a GLTF file to GLB file and the GLTF file has images/uri mapped to basis format textures but while converting using gltf-pipeline
name: 'RuntimeError',
message: 'Image data does not have valid header',
stack:
'Error\n at new RuntimeError (/usr/lib/node_modules/gltf-pipeline/node_modules/cesium/Source/Core/RuntimeError.js:42:19)\n at getImageExtension (/usr/lib/node_modules/gltf-pipeline/lib/getImageExtension.js:38:11)\n at writeImage (/usr/lib/node_modules/gltf-pipeline/lib/writeResources.js:83:23)\n at /usr/lib/node_modules/gltf-pipeline/lib/writeResources.js:47:9\n at Function.ForEach.object (/usr/lib/node_modules/gltf-pipeline/lib/ForEach.js:46:27)\n at Function.ForEach.topLevel (/usr/lib/node_modules/gltf-pipeline/lib/ForEach.js:65:20)\n at Function.ForEach.image (/usr/lib/node_modules/gltf-pipeline/lib/ForEach.js:186:20)\n at writeResources (/usr/lib/node_modules/gltf-pipeline/lib/writeResources.js:46:13)\n at /usr/lib/node_modules/gltf-pipeline/lib/processGltf.js:63:16\n at tryCatcher (/usr/lib/node_modules/gltf-pipeline/node_modules/bluebird/js/release/util.js:16:23)\n at Object.gotValue (/usr/lib/node_modules/gltf-pipeline/node_modules/bluebird/js/release/reduce.js:155:18)\n at Object.gotAccum (/usr/lib/node_modules/gltf-pipeline/node_modules/bluebird/js/release/reduce.js:144:25)\n at Object.tryCatcher (/usr/lib/node_modules/gltf-pipeline/node_modules/bluebird/js/release/util.js:16:23)\n at Promise._settlePromiseFromHandler (/usr/lib/node_modules/gltf-pipeline/node_modules/bluebird/js/release/promise.js:512:31)\n at Promise._settlePromise (/usr/lib/node_modules/gltf-pipeline/node_modules/bluebird/js/release/promise.js:569:18)\n at Promise._settlePromise0 (/usr/lib/node_modules/gltf-pipeline/node_modules/bluebird/js/release/promise.js:614:10)' }
Is it possible to create a GLB file with basis textures using gltf-pipeline?
The text was updated successfully, but these errors were encountered:
Same here!
I think this is because gltf-pipeline only supports png or jpeg and therefore cannot handle the basis binary data or detect the format on it.
I am trying to convert a GLTF file to GLB file and the GLTF file has images/uri mapped to basis format textures but while converting using gltf-pipeline
Is it possible to create a GLB file with basis textures using gltf-pipeline?
The text was updated successfully, but these errors were encountered: