Skip to content

Commit

Permalink
[FEATURE] Add externalMetadata option for glTF and GLB #130
Browse files Browse the repository at this point in the history
  • Loading branch information
xeolabs committed Feb 10, 2024
1 parent d3ec747 commit 4c932f1
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions convert2xkt.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -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
},

Expand Down

0 comments on commit 4c932f1

Please sign in to comment.