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]>
31 lines
1.7 KiB
Text
31 lines
1.7 KiB
Text
#usda 1.0
|
|
(
|
|
customLayerData = {
|
|
string "wai:audio" = "5753434e03000100000000ae00000002b0000000980000000348010000560000007b2264697374616e6365223a227761692e617564696f2e646973742e696e76657273655f636c616d706564222c226475726174696f6e223a3235362c22666c6f6f725f6c61796f7574223a2273746572656f222c226e756d65726963223a227761692e6465742e66697865643634222c2270616e5f6c6177223a227761692e617564696f2e70616e2e737172745f636f6e7374706f776572222c2273616d706c655f72617465223a34383030307d000002000000010101010101010101010101010101010101010101010101010101010101010100000000010000000100000000000000000000000000fbffffff0000000000000000000000000000000002020202020202020202020202020202020202020202020202020202020202020000000001000000010000000000000000000000000005000000000000000000000000000000000000000200000001010101010101010101010101010101010101010101010101010101010101010004000000746f6e6502020202020202020202020202020202020202020202020202020202020202020004000000746f6e650000"
|
|
string "wai:profile" = "wai-scene/1"
|
|
}
|
|
defaultPrim = "World"
|
|
endTimeCode = 256
|
|
startTimeCode = 0
|
|
timeCodesPerSecond = 48000
|
|
)
|
|
|
|
def Xform "World"
|
|
{
|
|
def Scope "Audio"
|
|
{
|
|
def Xform "object_0"
|
|
{
|
|
custom string wai:source = "0101010101010101010101010101010101010101010101010101010101010101"
|
|
double3 xformOp:translate = (-5, 0, 0)
|
|
uniform token[] xformOpOrder = ["xformOp:translate"]
|
|
}
|
|
|
|
def Xform "object_1"
|
|
{
|
|
custom string wai:source = "0202020202020202020202020202020202020202020202020202020202020202"
|
|
double3 xformOp:translate = (5, 0, 0)
|
|
uniform token[] xformOpOrder = ["xformOp:translate"]
|
|
}
|
|
}
|
|
}
|