fence: large beams intersects with smaller beams
2054 7 0- olivierth
- Member
- 1004 posts
- Joined: April 2017
- Offline
Hi!
I'm creating a fence where I take the original points on my curve and copy large beams to those. I resample to have more inbetween lines where I copy smaller beams.
My problem is that small beams appears where large beams are. I think I would need to use VEX and use pcfind within a foreach so I can find all points after the resample that are close to the points on the non-resampled curve.
I'm not good enough in VEX to understand how to do this. Any help?
Thanks.
-Olivier
I'm creating a fence where I take the original points on my curve and copy large beams to those. I resample to have more inbetween lines where I copy smaller beams.
My problem is that small beams appears where large beams are. I think I would need to use VEX and use pcfind within a foreach so I can find all points after the resample that are close to the points on the non-resampled curve.
I'm not good enough in VEX to understand how to do this. Any help?
Thanks.
-Olivier
- goldfarb
- Staff
- 3455 posts
- Joined: July 2005
- Offline
- tamte
- Member
- 8449 posts
- Joined: July 2007
- Offline
or group all points on the first curve (let's name group A)
then after resample use Group Transfer SOP (Point Groups: A, Group Name Conflicts: Owerwrite, Distance Thresnold:0.00001) to transfer group A from original points
then you can Copy To Points large beams onto this curve with Target points set to: A
and another Copy To Points small beams with Target Points set to: !A
then after resample use Group Transfer SOP (Point Groups: A, Group Name Conflicts: Owerwrite, Distance Thresnold:0.00001) to transfer group A from original points
then you can Copy To Points large beams onto this curve with Target points set to: A
and another Copy To Points small beams with Target Points set to: !A
Tomas Slancik
FX Supervisor
Method Studios, NY
FX Supervisor
Method Studios, NY
- olivierth
- Member
- 1004 posts
- Joined: April 2017
- Offline
- Aizatulin
- Member
- 470 posts
- Joined: July 2005
- Offline
- vusta
- Member
- 555 posts
- Joined: Feb. 2017
- Offline
- tamte
- Member
- 8449 posts
- Joined: July 2007
- Offline
here is a simple scene just to illustrate grouptransfer, overall it doesn't matter what you use to separate points into separate groups, just note that yo have an option to specify group on Copy To Points which can as well be adhoc group
you can as well just use attributes to determine what get's copied to each point, but for that I'd suggest to watch some masterclasses about the new for loops and copy nodes
you can as well just use attributes to determine what get's copied to each point, but for that I'd suggest to watch some masterclasses about the new for loops and copy nodes
Tomas Slancik
FX Supervisor
Method Studios, NY
FX Supervisor
Method Studios, NY
- olivierth
- Member
- 1004 posts
- Joined: April 2017
- Offline
-
- Quick Links