Tracing Through LIVERPS#

Let’s take a look at LIVRPS in action through a series of examples. The following examples will present different composition scenarios and trace through LIVRPS step-by-step to better understand the composition algorithm.

Composition of a Single Layer#

Composition Involving Sublayers#

One interesting thing to note from this example is that even though workstreamA.usd has a weaker sublayer strength than workstreamB.usd because it comes later in the order, workstreamA.usd still contains the winning opinion because it has a Local opinion where the root layer and other sublayer do not.

Composition Involving Two LayerStacks via References#

Composition Involving More Nested LayerStacks#

These examples are all studies of the composition algorithm for just one property. You can imagine how complex debugging composition can be when this is scaled out to thousands of prims with tens of properties each and different combinations of composition arcs operating on subsets of these prims and properties.