Open bdoubrov opened 3 years ago
According to glTF URIs documentation, the only URIs permitted by glTF are:
An additional implementation note says that:
Clients can optionally support additional URI components. For example http:// or file:// schemes, authorities/hostnames, absolute paths, and query or fragment parameters. Assets containing these additional URI components may be less portable.
I would suggest to forbit these additional URI components when embedding glTF JSON into PDF
Discussed in meeting today. Agreed to Boris proposal that we allow data and relative URI's, but not additional URI components.
Relative URI would be added as assets in the RIchMedia annotation.
glTF is based on JSON which then references multiple binary data (=assets) that contain model data, material info, textures, etc. This binary data may be placed into JSON file using base64 encoding or they may reference external files using a URI. In the examples this URI is typically given relative to the location of the jlTF document.
Questions: