Search - User list
Full Version: How to create USD Variants in Component Builder workflow?
Root » Technical Discussion » How to create USD Variants in Component Builder workflow?
ohmelf
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?
ohmelf
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.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB