model wedges to usd variants setup?
4461 4 5- Sixjames1000
- Member
- 52 posts
- Joined:
- Offline
Hi
Im wondering what would be the correct workflow for:
1- SOP:> Create a piece of geometry like a rock (easy, sphere->mountain, with attribute from PDG, say `@amountOfHeight`)
2- TOPs:> Have a topnet that does wedges of it (easy, wedge setting up that attribute `@amountOfHeight`)and a waitForAll and a ROPusd pointing to a lops network:
3- LOPs, this is where Im stuck:
- sopImport-> pointing to just the base sphere, as a base asset, no mountain effect.
- Im guessing an addVariantToExistingPrimitive loop, with a addVariant node inside (the sphere above).
- point `pdg_input.N` somerewhere so that the addVariant can read the generated wedges.
I guess the simplest question would be how to load each of the resulting wedges from pdg as a variant in that loop, so I can set this up?
Encapsulating pdg results as usd variants would be quite nice, as then we could automate asset processing for usd using pdg..
Any thoughts/examples?
thanks in advance!
Im wondering what would be the correct workflow for:
1- SOP:> Create a piece of geometry like a rock (easy, sphere->mountain, with attribute from PDG, say `@amountOfHeight`)
2- TOPs:> Have a topnet that does wedges of it (easy, wedge setting up that attribute `@amountOfHeight`)and a waitForAll and a ROPusd pointing to a lops network:
3- LOPs, this is where Im stuck:
- sopImport-> pointing to just the base sphere, as a base asset, no mountain effect.
- Im guessing an addVariantToExistingPrimitive loop, with a addVariant node inside (the sphere above).
- point `pdg_input.N` somerewhere so that the addVariant can read the generated wedges.
I guess the simplest question would be how to load each of the resulting wedges from pdg as a variant in that loop, so I can set this up?
Encapsulating pdg results as usd variants would be quite nice, as then we could automate asset processing for usd using pdg..
Any thoughts/examples?
thanks in advance!
Edited by Sixjames1000 - Dec. 29, 2019 13:11:59
- chrisgreb
- Member
- 603 posts
- Joined: Sept. 2016
- Offline
- Sixjames1000
- Member
- 52 posts
- Joined:
- Offline
This is great!
Quite interesting use of context. I would live to see this further documented, I couldn’t find many references, unless I probably missed it.
Anyhow this is great, is there a way to do the same without baking any geometry to disk as an intermediary process ?
Since this geometry is wedged on the fly, it would be great to generate the usda file directly. Does this make sense ?
Quite interesting use of context. I would live to see this further documented, I couldn’t find many references, unless I probably missed it.
Anyhow this is great, is there a way to do the same without baking any geometry to disk as an intermediary process ?
Since this geometry is wedged on the fly, it would be great to generate the usda file directly. Does this make sense ?
- chrisgreb
- Member
- 603 posts
- Joined: Sept. 2016
- Offline
Yes I think so, you could do that by using a ROP USD instead of a ROP Geometry Output TOP following the Wedge.
In that case you would be wedging out a LOP network which uses the SOP Import LOP to pull the geometry from sops. And then in the final ROP USD you would need to probably load each variant USD and reference it in the variant for each loop.
In that case you would be wedging out a LOP network which uses the SOP Import LOP to pull the geometry from sops. And then in the final ROP USD you would need to probably load each variant USD and reference it in the variant for each loop.
- kumpa
- Member
- 44 posts
- Joined:
- Offline
-
- Quick Links