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]>
23 lines
1.4 KiB
Text
23 lines
1.4 KiB
Text
#usda 1.0
|
|
(
|
|
customLayerData = {
|
|
string "wai:profile" = "wai-scene/1"
|
|
string "wai:world" = "57574c4403000100000000f90000000200010000ac00000004b0010000000000007b22636865636b706f696e745f6576657279223a3630302c226e756d65726963223a227761692e6465742e66697865643634222c227265736f6c7665223a7b2264656661756c74223a227761692e776f726c642e7265736f6c76652e6c7777227d2c22726e67223a7b22616c67223a22786f736869726f3235362b2b222c2273656564223a2230303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030227d2c2273696d223a227761692e776f726c642e73696d2e62616c6c697374696330222c227469636b5f72617465223a36307d0000000000000002000000028e3bb51609166d2ab2078de7716441400000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000c0000000009e46c67773c2687866e4bbeb8c7e3db84000000000000000fdffffff000000800100000000000000020000000000000001000000000000000000000000000000000000000000004000000000000000800000000000000000"
|
|
}
|
|
defaultPrim = "World"
|
|
)
|
|
|
|
def Xform "World"
|
|
{
|
|
def Xform "node_028e3bb51609166d2ab2078de7716441"
|
|
{
|
|
double3 xformOp:translate = (0, 5, 0)
|
|
uniform token[] xformOpOrder = ["xformOp:translate"]
|
|
}
|
|
|
|
def Xform "node_9e46c67773c2687866e4bbeb8c7e3db8"
|
|
{
|
|
double3 xformOp:translate = (-3, 1.5, 2)
|
|
uniform token[] xformOpOrder = ["xformOp:translate"]
|
|
}
|
|
}
|