Dear AOUSD folks,
As we know,A single prim can have multiple References,which one is valid?In my test,the first one will be applied to Prim.
Thanks!
Dear AOUSD folks,
As we know,A single prim can have multiple References,which one is valid?In my test,the first one will be applied to Prim.
Thanks!
References combine, both transitively (@a.usd@</World/Bob>
references @bob.usd@</Bob>
, which references @human.usd@</Human>
), and references within a LayerStack can also be combined through List Editing.
… and a single prim can declare a whole list of references, all of which will be “merged” in strength order.
Ref1.usda (317 Bytes)
Ref2.usda (417 Bytes)
BaseRef.usda (4.4 KB)
I test in USD Composer
I didn’t find any other Prim.
That’s because you have composed all three prims “on top of” each other, and all three have identical prim children substructure. But if you look closely at the properties, you’ll find that your root prim has all of height, radius and size attributes.
Hopefully this gives you some feeling for how referencing maps and renames prims on USD?
Thanks for your quick reply!
I understand this combination somewhat, but when I try to get the Type of Prim, I get the “Cube” type. In another program, I export Prim based on the type, will this cause an error?
I can’t be positive, but it sounds like you are expecting USD referencing to work more like Maya referencing, where it pulls in all the contents “below” the spot at which you are referencing, whereas USD referencing, as you see, “remaps” the source-target onto the destination prim.
Since you seem to want all three prims/trees present in the final result, I think you want to make three separate sibling prims, each with a single reference on it. And for structuring hygiene, those three prims should each be a child of a single root prim.
There are resources on the ASWF wiki and many other places that discuss pros/cons of structuring assets and how USD composition arcs can be effectively used - have fun!
–spiff
Thank you so much!I will read these discussions.