I find that I'm frequently doing work with attributes in vops, and then using these attributes in an if statement in a group sop to put some points into a group.
Would this be more efficient if we could create and edit groups directly in vops? My understanding is that it's slower for Houdini to evaluate an hscript if expression than it would be to do the same thing in vops… so it's definitely low priority RFE, but it might be nice to be able to create/edit groups in vops.
RFE: Add groups via VOPs
10078 13 4- Allegro
- Member
- 696 posts
- Joined: March 2006
- Offline
- symek
- Member
- 1390 posts
- Joined: July 2005
- Offline
- Allegro
- Member
- 696 posts
- Joined: March 2006
- Offline
- Allegro
- Member
- 696 posts
- Joined: March 2006
- Offline
ah, yup, got it working correctly now
I can't really tell if it's more/less/just as efficient during cook time…. so due to the amount of time it takes to set-up, and due to the lack of visual cues as to whether the point is added to the group (no viewport highlighting) It's probably not worth doing it in vops afterall.
But interesting to know that it's possible.
I can't really tell if it's more/less/just as efficient during cook time…. so due to the amount of time it takes to set-up, and due to the lack of visual cues as to whether the point is added to the group (no viewport highlighting) It's probably not worth doing it in vops afterall.
But interesting to know that it's possible.
Stephen Tucker
VFXTD
VFXTD
- sanostol
- Member
- 577 posts
- Joined: Nov. 2005
- Offline
- pclaes
- Member
- 257 posts
- Joined: Nov. 2007
- Offline
In vops I tend to use the create_point_group and add_point_to_group (inside an if statement) a lot, especially when the logic is more complex than the evaluation of a single attribute.
*) I also then often use this resulting group as a blast group in a blast sop.
*) If it is only a single attribute I need to check against for blasting I tend to go with the @attributename==1 in the blast sop.
Both these approaches are faster than the delete sop.
There used to be an error when the group you created in vops was named “group”, not sure if it is still there.
*) I also then often use this resulting group as a blast group in a blast sop.
*) If it is only a single attribute I need to check against for blasting I tend to go with the @attributename==1 in the blast sop.
Both these approaches are faster than the delete sop.
There used to be an error when the group you created in vops was named “group”, not sure if it is still there.
Cg Supervisor | Effects Supervisor | Expert Technical Artist at Infinity Ward
https://www.linkedin.com/in/peter-claes-10a4854/ [www.linkedin.com]
https://www.linkedin.com/in/peter-claes-10a4854/ [www.linkedin.com]
- tamte
- Member
- 8786 posts
- Joined: July 2007
- Online
I'm using Point To Group VOP a lot too and I consider it very efficient and not that difficult to setup, it's just one node inside of If.
And if you need visualization you can colour those points in the same VOP maybe through some temporary Visualization switch.
but I've never used Create Point Group VOP, how is it useful except maybe creating empty group? Since Add Point To Group VOP will create the group if it does not exist.
And if you need visualization you can colour those points in the same VOP maybe through some temporary Visualization switch.
but I've never used Create Point Group VOP, how is it useful except maybe creating empty group? Since Add Point To Group VOP will create the group if it does not exist.
Tomas Slancik
FX Supervisor
Method Studios, NY
FX Supervisor
Method Studios, NY
- sanostol
- Member
- 577 posts
- Joined: Nov. 2005
- Offline
- symek
- Member
- 1390 posts
- Joined: July 2005
- Offline
- claudio_101
- Member
- 121 posts
- Joined: July 2008
- Offline
- Anti-Distinctlyminty
- Member
- 271 posts
- Joined: March 2012
- Offline
- claudio_101
- Member
- 121 posts
- Joined: July 2008
- Offline
I found this to be very helpful!
https://www.sidefx.com/index.php?option=com_forum&Itemid=172&page=viewtopic&t=38673&sid=2673cf8d49589dfd39c4c752da4e72e0 [sidefx.com]
https://www.sidefx.com/index.php?option=com_forum&Itemid=172&page=viewtopic&t=38673&sid=2673cf8d49589dfd39c4c752da4e72e0 [sidefx.com]
Available for new projects
- Anti-Distinctlyminty
- Member
- 271 posts
- Joined: March 2012
- Offline
Apparently it's now the addattribute VOP
http://forums.odforce.net/topic/21694-sidefx-releases-houdini-14/?p=129427 [forums.odforce.net]
Would be nice to mention in the help card that the node is deprecated and we should use the addattribute VOP instead.
http://forums.odforce.net/topic/21694-sidefx-releases-houdini-14/?p=129427 [forums.odforce.net]
Would be nice to mention in the help card that the node is deprecated and we should use the addattribute VOP instead.
- Anti-Distinctlyminty
- Member
- 271 posts
- Joined: March 2012
- Offline
-
- Quick Links