Hey guys, newbie here when it comes to attrib VOPs.
I am trying to use attrib VOPs to create a per primitive attribute which is the smallest angle in between two vertices of a primitive.
is what I am thinking of doing possible? I basically was thinking to iterate through the vertices of the primitive via a forEach, then check the angle in between them. However, I cannot seem to find a way to get the vertex ID to check against its neighbours (but perhaps I am thinking of this completely the wrong way
I think I know a way to do it with regular point VOP SOP, but was looking at this as an oportunity to learn more about the attrib VOP
any help is appreciated! thank you!
thank you!
iterating through vertices on a primitive using attrib VOPs
2576 0 1- grayOlorin
- Member
- 1799 posts
- Joined: Oct. 2010
- Offline
-
- Quick Links