How to use nodes to select ring or loop edges?
29961 21 6-
- Tesla_s_fan
- Member
- 129 posts
- Joined: 1月 2013
- オフライン
-
- Sadjad Rabiee
- Member
- 1391 posts
- Joined: 12月 2010
- オフライン
I believe that Houdini is more than a simple 3D software , It is pretty like to programming languages like C++ :shock:
Because you can create every things with Houdini exactly like C++ even your custom tools or library or function doesn't exist !!!
Maybe Houdini doesn't have some many special tools like “Edge Loop SOP” ,But you can simply make your custom tool with Houdini's powerful tools like VEX 8)
I made a very simple “Edge/Point Loop Tool” for you and you can complete this tool with do some changes in it's network :wink:
Because you can create every things with Houdini exactly like C++ even your custom tools or library or function doesn't exist !!!
Maybe Houdini doesn't have some many special tools like “Edge Loop SOP” ,But you can simply make your custom tool with Houdini's powerful tools like VEX 8)
I made a very simple “Edge/Point Loop Tool” for you and you can complete this tool with do some changes in it's network :wink:
-
- sl0throp
- Member
- 258 posts
- Joined:
- オフライン
-
- mzigaib
- Member
- 1012 posts
- Joined: 4月 2008
- オフライン
-
- animatrix_
- Member
- 5042 posts
- Joined: 2月 2012
- オフライン
mzigaib
Any tips on how to select and edge ring?
If you want a procedural way, you can use this:
https://www.orbolt.com/asset/animatrix::selectEdgeRing::1.00 [orbolt.com]
Senior FX TD @ Industrial Light & Magic
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com] https://lnk.bio/animatrix [lnk.bio]
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com] https://lnk.bio/animatrix [lnk.bio]

-
- PradeepBarua
- Member
- 443 posts
- Joined: 9月 2012
- オフライン
-
- Tesla_s_fan
- Member
- 129 posts
- Joined: 1月 2013
- オフライン
-
- riviera
- Member
- 1721 posts
- Joined: 3月 2020
- オフライン
https://www.facebook.com/ [facebook.com]
photo.php?fbid=702591523107968
qLib just got a new SOP for selecting edge loops procedurally, if you feel like it give it a try (this is a first prototype though, be warned)
photo.php?fbid=702591523107968
qLib just got a new SOP for selecting edge loops procedurally, if you feel like it give it a try (this is a first prototype though, be warned)

Imre Tuske
FX Supervisor | Senior FXTD @ Weta FX
qLib -- Houdini asset library
http://qlab.github.io/qLib/ [qlab.github.io]
https://www.facebook.com/qLibHoudini [www.facebook.com]
FX Supervisor | Senior FXTD @ Weta FX
qLib -- Houdini asset library
http://qlab.github.io/qLib/ [qlab.github.io]
https://www.facebook.com/qLibHoudini [www.facebook.com]
-
- grayOlorin
- Member
- 1807 posts
- Joined: 10月 2010
- オフライン
-
- Tesla_s_fan
- Member
- 129 posts
- Joined: 1月 2013
- オフライン
rivierathank you
https://www.facebook.com/ [facebook.com]
photo.php?fbid=702591523107968
qLib just got a new SOP for selecting edge loops procedurally, if you feel like it give it a try (this is a first prototype though, be warned)
-
- animatrix_
- Member
- 5042 posts
- Joined: 2月 2012
- オフライン
Adding a VEX-based Select Edge Loop SOP to the list:
https://www.orbolt.com/asset/animatrix::selectEdgeLoop::1.00 [orbolt.com]
It uses the new hedge API.
https://www.orbolt.com/asset/animatrix::selectEdgeLoop::1.00 [orbolt.com]
It uses the new hedge API.
Senior FX TD @ Industrial Light & Magic
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com] https://lnk.bio/animatrix [lnk.bio]
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com] https://lnk.bio/animatrix [lnk.bio]

-
- Tesla_s_fan
- Member
- 129 posts
- Joined: 1月 2013
- オフライン
pusatThank you,I look inside the otl, it's too complex to me , totally can not understand. But I see the note “// VEX grammar doesn't support functions that return arrays.” . In fact houdini support the functions that return arrays, like that:
Adding a VEX-based Select Edge Loop SOP to the list:
https://www.orbolt.com/asset/animatrix::selectEdgeLoop::1.00 [orbolt.com]
It uses the new hedge API.
vector rgb_array()
{
return { {1, 0, 0}, {0, 1, 0}, {0, 0, 1} };
}
-
- animatrix_
- Member
- 5042 posts
- Joined: 2月 2012
- オフライン
aty84122pusatThank you,I look inside the otl, it's too complex to me, totally can not understand. But I see the note “// VEX grammar doesn't support functions that return arrays.” . In fact houdini support the functions that return arrays, like that:
Adding a VEX-based Select Edge Loop SOP to the list:
https://www.orbolt.com/asset/animatrix::selectEdgeLoop::1.00 [orbolt.com]
It uses the new hedge API.
vector rgb_array()
{
return { {1, 0, 0}, {0, 1, 0}, {0, 0, 1} };
}
Thanks a lot, but are you sure? AFAIK it only works if you write it inside the Outer Code section of Inline Code VOP. Using it inside AttribWrangle SOP throws this error:

I would appreciate to know if there is a solution for this.
Edited by - 2014年10月3日 06:52:36
Senior FX TD @ Industrial Light & Magic
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com] https://lnk.bio/animatrix [lnk.bio]
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com] https://lnk.bio/animatrix [lnk.bio]

-
- Tesla_s_fan
- Member
- 129 posts
- Joined: 1月 2013
- オフライン
To pusat:
I just see the help document:http://localhost:48626/vex/arrays [localhost]
or:
http://www.sidefx.com/docs/houdini13.0/vex/arrays [sidefx.com]
But I got the same error in wrangle node. Maybe it has bug.
And I test it in vex type otl, it can works.
I just see the help document:http://localhost:48626/vex/arrays [localhost]
or:
http://www.sidefx.com/docs/houdini13.0/vex/arrays [sidefx.com]
But I got the same error in wrangle node. Maybe it has bug.
And I test it in vex type otl, it can works.
-
- animatrix_
- Member
- 5042 posts
- Joined: 2月 2012
- オフライン
I submitted it as a bug in April 15 2014:
Wrangle SOPs do not allow functions that return an array
The developers said:
“This is a problem with the current VEX grammar that doesn't allow array functions inside of functions.
It also isn't allowed in the attrib vop, in your file what is happening is the outer-code section is being abused to define a function, something that will crash and burn when you cut & paste that node.”
Wrangle SOPs do not allow functions that return an array
The developers said:
“This is a problem with the current VEX grammar that doesn't allow array functions inside of functions.
It also isn't allowed in the attrib vop, in your file what is happening is the outer-code section is being abused to define a function, something that will crash and burn when you cut & paste that node.”
Senior FX TD @ Industrial Light & Magic
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com] https://lnk.bio/animatrix [lnk.bio]
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com] https://lnk.bio/animatrix [lnk.bio]

-
- Tesla_s_fan
- Member
- 129 posts
- Joined: 1月 2013
- オフライン
-
- animatrix_
- Member
- 5042 posts
- Joined: 2月 2012
- オフライン
Np, please submit an RFE for this as well so SESI can put more priority on this

Senior FX TD @ Industrial Light & Magic
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com] https://lnk.bio/animatrix [lnk.bio]
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com] https://lnk.bio/animatrix [lnk.bio]

-
- Tesla_s_fan
- Member
- 129 posts
- Joined: 1月 2013
- オフライン
-
- ali najeh
- Member
- 1 posts
- Joined: 7月 2014
- オフライン
-
- grayOlorin
- Member
- 1807 posts
- Joined: 10月 2010
- オフライン
-
- Quick Links