open-standards/wai/live-conformance/scene/docs/foreign_https.gltf
Transaction Science 6daafc502c wai: scene carriage — WAI worlds, audio scenes and timed media onto ISO/IEC 23090-14 scene description and a USD layer, both ways (work in progress)
wai-rs scene_map (feature scene_map): a bundle (a WWLD world, a WSCN audio
scene, timed media items by content hash) exported as a glTF 2.0 document
with MPEG_media, MPEG_buffer_circular, MPEG_accessor_timed,
MPEG_audio_spatial and MPEG_texture_video, and as a USDA layer of the USD
Core Specification v1.0.1 (prims, translate ops, time samples, asset
references by urn:wai:asset), each carrying the bundle's bytes exactly;
imports read a WAI-written document back to the same bundle (refused
unless re-exporting gives the same bytes) and a foreign one to new WAI
bytes, refused where a value would not carry exactly. Corpus generator
wai_scene_vectors and tests/scene_map.rs.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
2026-10-22 07:43:34 -04:00

1 line
No EOL
1.9 KiB
JSON

{"asset":{"version":"2.0"},"extensionsUsed":["MPEG_accessor_timed","MPEG_audio_spatial","MPEG_buffer_circular","MPEG_media","MPEG_texture_video"],"extensions":{"MPEG_media":{"media":[{"name":"voice","autoplay":true,"alternatives":[{"uri":"https://example.invalid/voice.ogg","mimeType":"audio/ogg"}]},{"name":"screen","startTime":0,"alternatives":[{"uri":"https://example.invalid/screen.mp4","mimeType":"video/mp4"},{"uri":"urn:wai:asset:739363f10b53ad3a7f954385605fe0fcd12330dd5c4b4f2f17127c10542a132e","mimeType":"application/wai; codecs=\"wai1.video.av1\""}]}]}},"scene":0,"scenes":[{"nodes":[0]}],"nodes":[{"name":"room","translation":[0,1,0],"children":[1]},{"name":"speaker","translation":[-2,0,-1],"extensions":{"MPEG_audio_spatial":{"sources":[{"id":0,"type":"Object","accessors":[2]}]}}}],"buffers":[{"byteLength":48,"uri":"data:application/octet-stream;base64,AAAAAAAAAD8AAIA/AAAAwAAAAAAAAIC/AAAAAAAAAAAAAIC/AAAAQAAAAAAAAIC/"},{"byteLength":4096,"extensions":{"MPEG_buffer_circular":{"media":0}}},{"byteLength":6912,"extensions":{"MPEG_buffer_circular":{"media":1}}}],"bufferViews":[{"buffer":0,"byteLength":12},{"buffer":0,"byteOffset":12,"byteLength":36},{"buffer":1,"byteLength":4096},{"buffer":2,"byteLength":6912}],"accessors":[{"bufferView":0,"componentType":5126,"count":3,"type":"SCALAR","min":[0],"max":[1]},{"bufferView":1,"componentType":5126,"count":3,"type":"VEC3"},{"bufferView":2,"componentType":5126,"count":1024,"type":"SCALAR","extensions":{"MPEG_accessor_timed":{"immutable":true}}},{"bufferView":3,"componentType":5121,"normalized":true,"count":2304,"type":"VEC3","extensions":{"MPEG_accessor_timed":{"immutable":true}}}],"animations":[{"channels":[{"sampler":0,"target":{"node":1,"path":"translation"}}],"samplers":[{"input":0,"interpolation":"LINEAR","output":1}]}],"textures":[{"extensions":{"MPEG_texture_video":{"accessor":3,"width":48,"height":16,"format":"RGB"}}}]}