CesiumGS / 3d-tiles

Specification for streaming massive heterogeneous 3D geospatial datasets :earth_americas:
2.11k stars 467 forks source link

Top-level information about tile content #701

Open lilleyse opened 2 years ago

lilleyse commented 2 years ago

Right now there's no place to put top-level information about tile content. Some use cases include:

An early version of this was introduced in 3DTILES_content_gltf but did not make it back into 3D Tiles 1.1 because of some uncertainty about the use cases above.

  "extensions": {
    "3DTILES_content_gltf": {
      "extensionsUsed": ["EXT_mesh_gpu_instancing"],
      "extensionsRequired": ["EXT_mesh_gpu_instancing"]
    }
  }
bjornblissing commented 1 year ago

An interim solution would probably be a new extension. For example named 3DTILES_gltf_extensions, which specify the used and required extension in a similar way as the 3DTILES_content_gltf did:

  "extensions": {
    "3DTILES_gltf_extensions": {
      "extensionsUsed": ["EXT_mesh_gpu_instancing"],
      "extensionsRequired": ["EXT_mesh_gpu_instancing"]
    }
  }

However, this would be a new extension just to repeat the same information that is already present in the old extension. Thus the solution might be to simple de-deprecate the old extension.