When adding points in VEX using addpoint() is there a smart way to copy all the attributes from an existing point?
In my case I need to insert a point on a curve, and I'd like to avoid having explicitly set which attributes to copy.
VEX copy point
5331 5 0-
- aeaeaeae
- Member
- 128 posts
- Joined: Aug. 2010
- Offline
-
- BabaJ
- Member
- 2048 posts
- Joined: Sept. 2015
- Offline
-
- aeaeaeae
- Member
- 128 posts
- Joined: Aug. 2010
- Offline
-
- mawi
- Member
- 242 posts
- Joined: Jan. 2008
- Offline
-
- BabaJ
- Member
- 2048 posts
- Joined: Sept. 2015
- Offline
-
- tamte
- Member
- 8645 posts
- Joined: July 2007
- Offline
I'm assuming you are inserting points inbetwen other points, so you can't just clone a point, in that case you can easily interpolate all attributes from those points using Attrib Interpolate SOP afterwards, you just need either primnum + primuv coords, or pointarray + weightarray
Edited by tamte - Feb. 16, 2018 17:52:10
Tomas Slancik
FX Supervisor
Method Studios, NY
FX Supervisor
Method Studios, NY
-
- Quick Links