How to create USD Variants in Component Builder workflow?

   282   1   1
User Avatar
Member
3 posts
Joined: 10月 2019
Offline
How to create USD Variants in Component Builder workflow?

I like the Component Builder workflow.
However, I am unable to solve a problem I am currently facing.

For example, even if I properly name attribute dozens of kitbash FBX models in the SOP inside Component geometry and have dozens of meshprim in the stage hierarchy, I can't successfully include them in a single Variant set.

https://www.sidefx.com/forum/topic/71439/ [www.sidefx.com]
This seems to be a similar problem to this topic, but it seems to require additional work in the Component Builder workflow.

I found the following explanation according to CGwiki
https://tokeru.com/cgwiki/HoudiniLops.html#component_builder_match_materials_to_prims_by_name [tokeru.com]
"The component builder output is picky, and expects its upstream connection to be one of the other component builder nodes."

It's not like Houdini to create a Component geometry Node dozens of times...
Has anyone had success with this?
User Avatar
Member
3 posts
Joined: 10月 2019
Offline
I found a solution to this problem by referring to the following forum.
https://www.sidefx.com/forum/topic/85646/ [www.sidefx.com]

Briefly, set the foreach SOP to Single Pass and set @GEOVARIANTINDEX expression.
Next, create as many Variants as numiterations in the Component Geometry Variants LOP.

Amazingly, the Component Geometry Variants LOP seems to take us into a big invisible loop.

Attachments:
Snipaste_2024-03-25_12-41-59.png (86.0 KB)
Snipaste_2024-03-25_12-42-26.png (50.4 KB)

  • Quick Links