From 4c932f13740def5422018106356c5f7f2568df5e Mon Sep 17 00:00:00 2001 From: lindsay Date: Sat, 10 Feb 2024 04:16:45 +0100 Subject: [PATCH] [FEATURE] Add externalMetadata option for glTF and GLB #130 --- convert2xkt.conf.js | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/convert2xkt.conf.js b/convert2xkt.conf.js index f6dad16..285a8be 100644 --- a/convert2xkt.conf.js +++ b/convert2xkt.conf.js @@ -98,8 +98,15 @@ module.exports = { "minTileSize": 200, + // When converting .gltf source files that are accompanied by metadata JSON + // files, this will cause the metadata JSON files to not be embedded within the XKT output + // files, and instead be output separately. When converting split glTF / GLB models + // and outputting a manifest of split XKT files, the JSON files will be listed in the + // manifest alongside the XKT files. + "externalMetadata": true }, + "glb": { "reuseGeometries": true, "includeTextures": true, @@ -108,6 +115,12 @@ module.exports = { "excludeTypes": [], "minTileSize": 200, + // When converting GLB source files that are accompanied by metadata JSON + // files, this will cause the metadata JSON files to not be embedded within the XKT output + // files, and instead be output separately. When converting split glTF / GLB models + // and outputting a manifest of split XKT files, the JSON files will be listed in the + // manifest alongside the XKT files. + "externalMetadata": true },