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]>
27 lines
1.6 KiB
Text
27 lines
1.6 KiB
Text
#usda 1.0
|
|
(
|
|
customLayerData = {
|
|
string "wai:profile" = "wai-scene/1"
|
|
string "wai:world" = "57574c4403000100000000f500000002f8000000e300000004e0010000000000007b22636865636b706f696e745f6576657279223a3630302c226e756d65726963223a227761692e6465742e66697865643634222c227265736f6c7665223a7b2264656661756c74223a227761692e776f726c642e7265736f6c76652e6c7777227d2c22726e67223a7b22616c67223a22786f736869726f3235362b2b222c2273656564223a2230303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030303030227d2c2273696d223a227761692e776f726c642e73696d2e747275737330222c227469636b5f72617465223a36307d000000030000003fc7c32cb9ba9862690eaeb75e86126039000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000000000000000000001000000a6f2b8a47d8ff9ebc274ef05513e995231000000013fc7c32cb9ba9862690eaeb75e861260b18d00d2d44041a77345aa5e7580a9ed00000000020000000000002000000000b18d00d2d44041a77345aa5e7580a9ed390000000000000000020000000000000002000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000"
|
|
}
|
|
defaultPrim = "World"
|
|
)
|
|
|
|
def Xform "World"
|
|
{
|
|
def Xform "node_3fc7c32cb9ba9862690eaeb75e861260"
|
|
{
|
|
double3 xformOp:translate = (0, 2, 0)
|
|
uniform token[] xformOpOrder = ["xformOp:translate"]
|
|
}
|
|
|
|
def Xform "node_a6f2b8a47d8ff9ebc274ef05513e9952"
|
|
{
|
|
}
|
|
|
|
def Xform "node_b18d00d2d44041a77345aa5e7580a9ed"
|
|
{
|
|
double3 xformOp:translate = (2, 2, 0)
|
|
uniform token[] xformOpOrder = ["xformOp:translate"]
|
|
}
|
|
}
|