I have imported a point cloud. Inside my point cloud node, I have made a selection (a subset of the points in the cloud). I would like to translate these selected points by a given amount.
Can anyone suggest how I might do this? I connected the point cloud output to a transform node, but the transform considers the whole cloud.
How do I manipulate a selection of point cloud points?
2887 6 0- catdog
- Member
- 10 posts
- Joined: May 2016
- Offline
- mart1jn
- Member
- 24 posts
- Joined: July 2014
- Offline
- bonsak
- Member
- 459 posts
- Joined: Oct. 2011
- Offline
- tamte
- Member
- 8554 posts
- Joined: July 2007
- Offline
or maybe this can help
https://www.sidefx.com/index.php?option=com_content&task=view&id=3071&Itemid=404 [sidefx.com]
https://www.sidefx.com/index.php?option=com_content&task=view&id=3071&Itemid=404 [sidefx.com]
Tomas Slancik
FX Supervisor
Method Studios, NY
FX Supervisor
Method Studios, NY
- catdog
- Member
- 10 posts
- Joined: May 2016
- Offline
- catdog
- Member
- 10 posts
- Joined: May 2016
- Offline
I have a followup question. How do I then manipulate the selected points in a vex node?
I have created a group from my selected points, and input that to a vex node. For testing the vex node simply translates the points obtained from the global variables ‘P’ variable.
This configuration not only translates the selected points, but also the non-selected points. Can anyone tell me what is wrong, and why my vex node is applying it's change to all data instead of only the selected points?
I have created a group from my selected points, and input that to a vex node. For testing the vex node simply translates the points obtained from the global variables ‘P’ variable.
This configuration not only translates the selected points, but also the non-selected points. Can anyone tell me what is wrong, and why my vex node is applying it's change to all data instead of only the selected points?
- bonsak
- Member
- 459 posts
- Joined: Oct. 2011
- Offline
The VEX node also has a group field. Enter the name of your new group there and the VEX node will only operate on the points in that group. Another way would be to use an if statement in the VEX node to test if the incoming point is a member of the group or not. Group membership is just an attribute set to either 0 or 1. Take a look in your geometry spreadsheet.
-b
-b
-
- Quick Links