Mark Tucker

mtucker

About Me

Expertise
Developer
Location
Canada
Website

Connect

Recent Forum Posts

How to save each variant as a layer to disk? March 27, 2023, 2:34 p.m.

Attached is a file demonstrating method 1, just to make sure we're talking about the same thing. As you say, just the visibility opinions will be in the per-variant files saved to disk, because it is only the visibility opinions that you are authoring into the variant block. I assumed this was your intent when I suggested this option, but it would be just as easy to get rid of the prunes, and put the actual box geometry as the input to each configure layer in the new file, then the geometry content of each variant would be saved into the per-variant file. But again, I don't really know what your intent is here... Whatever it is I'm sure it's possible to set it up

Retime USD March 27, 2023, 2:12 p.m.

The timeshift LOP should be able to do what you want here. Attached is an example showing how to use it to speed up the crag animation. Make sure that you set the timeshift LOP parameters to target all the prims and attributes for which you want to retime the animation.

How to save each variant as a layer to disk? March 26, 2023, 10:45 p.m.

What exactly do you mean by "save each variant as a layer"? I can imagine two possibilities:
  1. Just save the "variant" opinions (authored by the Prune LOPs) to their own layers, and have the variant selection just switch between which prune layer gets referenced. To do this, you'd just need to add a configure Layer LOP after each prune, and feed that configure Layer into the multi-input of a reference LOP. Then feed the reference LOPs into the multi-input of the variantblock_end2 LOP.
  2. For each variant, save a layer that payloads in the floating_shelves_with_frame prim, and applies that variant selection. This is probably best accomplished with PDG, which makes it fairly easy to run a USD ROP multiple times using a Wedge TOP and a ROP USD Output TOP.

Hope that helps... Post back if you didn't mean either of these things...

Mark