Ello,
I was wondering, what would be a good workflow to apply the attribute(s) on start points to each point on the path generated from those respective start points? e.g. so start points with specific pscale can have paths that have that sampled pscale.
At the moment the best way I can think of is to do an attribute transfer of the original start points to the shortest paths geo, then a group expand node to grow their attribute along connected points.
copy original start point attribute to find shortest path
796 1 0-
- NNNenov
- Member
- 50 posts
- Joined: 2月 2016
- Offline
-
- tamte
- Member
- 9122 posts
- Joined: 7月 2007
- Offline
There is a Start Point Attribute parameter, which can create prim attribute containing the start point number on your paths
Then you can use that in Point Wrangle to get any attribute from original geo from all points of the path
or in Prim Wrangle and then Attrib Promote to points
Then you can use that in Point Wrangle to get any attribute from original geo from all points of the path
int pt = prim(0, "startpt", @primnum); f@pscale = point(1, "pscale", pt);
or in Prim Wrangle and then Attrib Promote to points
f@pscale = point(1, "pscale", i@startpt);
Edited by tamte - 2023年7月3日 01:34:33
Tomas Slancik
CG Supervisor
Framestore, NY
CG Supervisor
Framestore, NY
-
- Quick Links