Outside of VOP, Attribute Promote SOP could give you first point number in 
primitive, something like promote point number from point to primitive with 
minimum as option. Knowing that, you use some subtract, add, whatever in VOP, 
later. Attribute Promote SOP seems to be a way faster than these ''manual'' 
loops, especially with huge counts of strands, from my little experience.
      From: Olivier Jeannel <facialdel...@gmail.com>
 To: "softimage@listproc.autodesk.com" <softimage@listproc.autodesk.com> 
 Sent: Thursday, June 15, 2017 11:06 PM
 Subject: prim array to per point
   
Hi,
I feel stuck (probably stupidly)
I'm in VOP
I have a geo with several primitives (lines / strands), each primitive has a 
different number of points.I can know how many points per primitive there is 
with @numvtx.
I've build an array of sub indices per primitive (with a for loop)prim0 
[0,1,2,3]prim1 [0,1,2]prim2 [0,1,2,3,4]prim3 [0,1]
I can't find a VOP way to remap these array sub indices per point.

Or, at worst a vex ... :/
Thank you.
------
Softimage Mailing List.
To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com with 
"unsubscribe" in the subject, and reply to confirm.

   
------
Softimage Mailing List.
To unsubscribe, send a mail to softimage-requ...@listproc.autodesk.com with 
"unsubscribe" in the subject, and reply to confirm.

Reply via email to