UsdGuide08

From cgwiki
Revision as of 23:40, 29 April 2021 by MattEstela (talk | contribs) (Created page with "=== More on referencing === The referencing we've done so far has been pretty simple; load a pig, done. In a more complex scenario, with multiple departments getting into sl...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

More on referencing

The referencing we've done so far has been pretty simple; load a pig, done.

In a more complex scenario, with multiple departments getting into slapfights, huge sets made up of thousands of references, you'd likely want more control.

First, you can be more expliclit about where the reference will go in the Scene Graph Tree. Rather than just being vomited at the top level, you can say 'place this reference at /shot/characters/background/pig. In fact, lets do this:

  1. Make yet another copy of the pig reference, disconnect it from everything else, display it.
  2. The location in the Scene Graph Tree will be /referenceN.
  3. Change the Primitive Path parameter to /shot/characters/background/pig
  4. Bingo, look in the Scene Graph Tree now, it's immediately made that outliner folder structure for you, with the final 'pig' being the reference itself.

So that's being specific about the output location, you can also be specific about the input too. First, lets save a usd with a few things in it:

  1. create a cube put it down by itself
  2. find sphere in the tab menu, shift-enter to auto append
  3. same for pig
  4. same for rubber toy
  5. append a usd rop
  6. save it to $HIP/geo/manyshapes.usd

Right, now lets load this back in with a reference:

  1. Create a reference node
  2. Set the file path to save it to $HIP/geo/manyshapes.usd
  3. Set the primitive path to /my/single/shape