HDA: Multiple input groups, each containing several inputs?
5794 16 1- ajz3d
- Member
- 452 posts
- Joined: Aug. 2014
- Offline
- Anonymous
- Member
- 678 posts
- Joined: July 2005
- Offline
- ajz3d
- Member
- 452 posts
- Joined: Aug. 2014
- Offline
mantragoraHm, I suspected that it's not possible.
No.
In my asset I have two Merge SOPs accepting multiple inputs and one other SOP accepting a single input. I'm referencing them in some expressions from within the HDA. I take it that I should remove those merge guys and reference nodes that are connected to the inputs instead, am I right? Or is there some other way?
- Anonymous
- Member
- 678 posts
- Joined: July 2005
- Offline
- ajz3d
- Member
- 452 posts
- Joined: Aug. 2014
- Offline
mantragoraGet the number of Merge SOP inputs and use this variable in other parts of the asset.ajz3d
Or is there some other way?
Yeah, put the Merge SOPs outside of your asset and connect them to appropriate input.
What do you want to do?
I want to encapsulate this: http://forums.odforce.net/topic/22132-rbd-replace-proxy-with-hi-poly-geo-at-rendertime/#entry131857 [forums.odforce.net] (most of the SOPs from the point_source_torus ObjNode) in an asset and I want this asset to be as much intuitive and easy to use as possible.
- Anonymous
- Member
- 678 posts
- Joined: July 2005
- Offline
- ajz3d
- Member
- 452 posts
- Joined: Aug. 2014
- Offline
Yeah, that's a plausible solution, especially for me because the modelling program I use includes groups info in its output, so they will be predefined in Houdini, which relieve me from creating those many group SOPs. But what if I have a dozen or more input meshes without predefined groups? Creating group SOPs for them would be quite a tedious process.
- Anonymous
- Member
- 678 posts
- Joined: July 2005
- Offline
Python shelf tool? Select nodes you want and generate groupSOP after each.
Or just process merge node inputs with pythonSOP and generate groups for each input with it.
PS:
Also you could log RFE to make extended mergeSOP with possibility to create group for each input connected to it.
PS2:
Jak bardzo potrzebujesz czegos takiego moge sie temu przyjrzec
Or just process merge node inputs with pythonSOP and generate groups for each input with it.
PS:
Also you could log RFE to make extended mergeSOP with possibility to create group for each input connected to it.
PS2:
Jak bardzo potrzebujesz czegos takiego moge sie temu przyjrzec
- ajz3d
- Member
- 452 posts
- Joined: Aug. 2014
- Offline
Bardzo dziękuję za propozycję, ale przed chwilą trochę dłubałem w tym HDA i wygląda na to, że udało mi się go utworzyć.
I managed to finish the asset. At least a crude form of it because the connection to rbdpointobject must be established manually - by typing data into asset's doppath and objpattern and rbdpointobject's soppath. So there's no automation in this department yet.
Initially I tried the solution you suggested - Python SOP and groups, but then I realized that I could just make a simple Python switch that replaces its hou.Geometry() object with geometry from merge SOP's input specified by an int parameter of the Python SOP.
It's very late here, so I'll post some more info tomorrow.
I managed to finish the asset. At least a crude form of it because the connection to rbdpointobject must be established manually - by typing data into asset's doppath and objpattern and rbdpointobject's soppath. So there's no automation in this department yet.
Initially I tried the solution you suggested - Python SOP and groups, but then I realized that I could just make a simple Python switch that replaces its hou.Geometry() object with geometry from merge SOP's input specified by an int parameter of the Python SOP.
It's very late here, so I'll post some more info tomorrow.
- ajz3d
- Member
- 452 posts
- Joined: Aug. 2014
- Offline
- Anonymous
- Member
- 678 posts
- Joined: July 2005
- Offline
- ajz3d
- Member
- 452 posts
- Joined: Aug. 2014
- Offline
- Anonymous
- Member
- 678 posts
- Joined: July 2005
- Offline
- ajz3d
- Member
- 452 posts
- Joined: Aug. 2014
- Offline
mantragoraAlready did this. But I gave it another try:
Get any NC hip file to force Houdini switch to NC, and then duplicate asset.
Just make sure to backup your assets in case you mess something, so you would not have to remake it again as Indie.
- - I started Houdini Apprentice.
- Duplicated the asset as .hdanc.
- Started the Indie
- Placed that non-commercial asset in the scene
- Houdini Indie didn't show me the monit that it will switch to non-commercial Apprentice version, so the asset is still limited-commercial.
- goldfarb
- Staff
- 3455 posts
- Joined: July 2005
- Offline
- Anonymous
- Member
- 678 posts
- Joined: July 2005
- Offline
- ajz3d
- Member
- 452 posts
- Joined: Aug. 2014
- Offline
-
- Quick Links