Jump to content

Import attribute VOP bug


Hazoc

Recommended Posts

I'm trying to get points from VOPSOP's second input. I clearly feed in only 8 points but when I ask importatrrib1 something about the points, it prints out 9 point values.

You can also try to feed 50 points to the second input. It still gives only 9 values or what ever is being fed in to the first input.

importattrib_bug.hip

Link to comment
Share on other sites

it's not a bug it's how it works

VOP SOP is evaluated for every point the of first input

so what import attribute is doing is for every point of the first input import any attribute of given input and given ptnum (default is current ptnum of the first input)

so no matter how many inputs you have on other inputs it'll be evaluated only 9 times since first input has 9 points

Link to comment
Share on other sites

it's not a bug it's how it works

Ok sounds like I'll have to code a custom SOP. What I'm basicly after for is comparing two different point sets. For each point in set #1 I want to find shortest distance to a point in set #2.

Thanks

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...