Jump to content

how to get from pointvop get the prim number and attributes?


pelos

Recommended Posts

while pointvop only run over points, is it possible for the point to find out what's the prim number belongs to, and then retrieve a attribute from the prim?

i am currently making:

1) attributes in a curve

2) promoting the attributes to points

3) using those attributes, 

 

but now i have 3 loops over the geometry =(   and i would like to optimize since will be a lot of curves/points,   i would like to vopsop loop the point, find what's the Prim number that belongs to and retrieve the attribute from that prim.

 

thanks guys

pointvop_performance_1.PNG

optimize_vopsop.hip

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...