how to copy things onto an edge of a poly curve?
4861 6 2- Steven Zhang
- Member
- 10 posts
- Joined: June 2014
- Offline
- Sadjad Rabiee
- Member
- 1391 posts
- Joined: Dec. 2010
- Offline
So you can add some points on each edge , for example do it with Resample SOP (be sure Resample by Polygon Edge is On !) , Then copy tour stuff on these points.
New generated points take Normal direction from start and end point of each edge and Copy SOP use this normals for orientation of each stuff !
Also if you wanna copy your stuff on each edge randomly , you can use Scatter SOP instead of Resample SOP :idea:
New generated points take Normal direction from start and end point of each edge and Copy SOP use this normals for orientation of each stuff !
Also if you wanna copy your stuff on each edge randomly , you can use Scatter SOP instead of Resample SOP :idea:
- Sadjad Rabiee
- Member
- 1391 posts
- Joined: Dec. 2010
- Offline
- Steven Zhang
- Member
- 10 posts
- Joined: June 2014
- Offline
- Sadjad Rabiee
- Member
- 1391 posts
- Joined: Dec. 2010
- Offline
- grayOlorin
- Member
- 1799 posts
- Joined: Oct. 2010
- Offline
- Sadjad Rabiee
- Member
- 1391 posts
- Joined: Dec. 2010
- Offline
grayOlorin
if you are using an attribVOP, you should be able to also use XYZDistance to return the closest point in a curve, and get any attribute from that location (position, U coordinate, normal, etc). In most cases, this may be also faster than resampling your reference curve and more precise
Yes , VEX is always faster than using SOP nodes , Also I think we should use For Loop too , because we need to compute multiple points on the Curve 8)
-
- Quick Links