list of vertices

   1049   1   0
User Avatar
Member
8 posts
Joined: 5月 2018
Offline
Hello there!!

I want to do something really easy I guess, to create a list with all the vertices for each primitive. - I am working with a polyedron-

How can I do that in VEX?

cheers
User Avatar
Member
23 posts
Joined: 3月 2013
Offline
Try this in a primitive wrangle:

i@primvtx = primvertices(0, @primnum);


It will return the list of vertices on each primitive as an array attribute.
  • Quick Links