Set Mesh as Variant
2835 7 1-
- philippepetitpas
- Member
- 68 posts
- Joined: 8月 2021
- オフライン
Hello everyone, I hope you are doing well.
I've been wanting to try solaris for a while now, and karma xpu has definitely decided to give it a chance.
I use a lot megascan to scatter things in houdini, but the plugin don't offer the "proxy" possibility for solaris (or so i don't know how to do it).
So I tried to find a workaround, but I am stuck, I cannot create a variants...
Is there a way to tell houdini to use each "Mesh" as a variant? (I know there is a "each" node in lops but i don't know how to use it in this case)
I've been wanting to try solaris for a while now, and karma xpu has definitely decided to give it a chance.
I use a lot megascan to scatter things in houdini, but the plugin don't offer the "proxy" possibility for solaris (or so i don't know how to do it).
So I tried to find a workaround, but I am stuck, I cannot create a variants...
Is there a way to tell houdini to use each "Mesh" as a variant? (I know there is a "each" node in lops but i don't know how to use it in this case)
-
- jason_iversen
- Member
- 12986 posts
- Joined: 7月 2005
- オフライン
Can I suggest you look at the "Component Builder" workflow as suggested by the SideFX team? https://www.sidefx.com/docs/houdini/solaris/component_builder.html [www.sidefx.com]
Jason Iversen, Technology Supervisor & FX Pipeline/R+D Lead @ Weta FX
also, http://www.odforce.net [www.odforce.net]
also, http://www.odforce.net [www.odforce.net]
-
- philippe.petitpas
- Member
- 6 posts
- Joined: 3月 2020
- オフライン
At first it was my idea, but it is super slow to enter into each component geometry, link each model, one by one….. I did a test, where I tried to speed up the process but it was still really slow to setup (I share you the screen shots of this).
But maybe I have found the solution, i just need to do one thing : I have a sop import connected to a subnet. Inside a subnet, i have a multiple nodes, one is a file geo.
What I want is basically a copy parameter from the Sopimport (which is connected to the subnet) to the FileGeo(which is inside the subnet) so the FileGeo have the same path to geo than the Sopimport. Of course I know I can do it by right click, copy parameter etc, but what I want is an expression, like « copy the file path of the first connected sopimport into the subnet », so whenever the sop import I connect to the subnet, the FileGeo inside it automatically use the same geo path
But maybe I have found the solution, i just need to do one thing : I have a sop import connected to a subnet. Inside a subnet, i have a multiple nodes, one is a file geo.
What I want is basically a copy parameter from the Sopimport (which is connected to the subnet) to the FileGeo(which is inside the subnet) so the FileGeo have the same path to geo than the Sopimport. Of course I know I can do it by right click, copy parameter etc, but what I want is an expression, like « copy the file path of the first connected sopimport into the subnet », so whenever the sop import I connect to the subnet, the FileGeo inside it automatically use the same geo path
-
- jason_iversen
- Member
- 12986 posts
- Joined: 7月 2005
- オフライン
Yeah, I can imagine wanting to build a data-driven workflows on top of the component builder stuff using PDG and such. Perhaps SideFX have done something like this? Fur example, for the Layout Asset Gallery ingestion tooling?
Jason Iversen, Technology Supervisor & FX Pipeline/R+D Lead @ Weta FX
also, http://www.odforce.net [www.odforce.net]
also, http://www.odforce.net [www.odforce.net]
-
- philippepetitpas
- Member
- 68 posts
- Joined: 8月 2021
- オフライン
I should look in this direction
I'm really not that far now but I need an expression.
Do you know if it's possible to replace the explicit name by something like "which is in input 1" ?
In this exemple, i don't want it to be ../Var7_LOD2/soppath
I would like to be ../input1/soppath
so its not related to a node in particular, but only related to the first input of my subnet...

Do you know if it's possible to replace the explicit name by something like "which is in input 1" ?
In this exemple, i don't want it to be ../Var7_LOD2/soppath
I would like to be ../input1/soppath
so its not related to a node in particular, but only related to the first input of my subnet...
-
- philippepetitpas
- Member
- 68 posts
- Joined: 8月 2021
- オフライン
Ok, i found solutions :
I modified the component geometry node:
- I can directly plug a SOP import to it
- It automatically create a proxy version for viewport
- I have access to the polyreduce % directly on the componentgeometry node
Now I have to find out how to use the for each node :
I have a lot of Sopimport node and I want to do something like : For each sopimport node, connect it to a component geometry node and then connect them to the componentgeometryVariant node
I modified the component geometry node:
- I can directly plug a SOP import to it
- It automatically create a proxy version for viewport
- I have access to the polyreduce % directly on the componentgeometry node
Now I have to find out how to use the for each node :
I have a lot of Sopimport node and I want to do something like : For each sopimport node, connect it to a component geometry node and then connect them to the componentgeometryVariant node
-
- Hamilton Meathouse
- Member
- 209 posts
- Joined: 11月 2013
- オフライン
-
- philippe.petitpas
- Member
- 6 posts
- Joined: 3月 2020
- オフライン
-
- Quick Links