Jump to content

delete SOP operator


Recommended Posts

Hi i have a question about name and delete SOP operator. I know that name operator creates attribute, then i can transform points using this attribute ex: @rvort==1, but how to delete points uisng attribute value ? It works when i use transform sop and others, but doesn't when use delete sop.

Please help,

Cheers

Scene file to better explain:

delete.hip

Link to comment
Share on other sites

Hi i have a question about name and delete SOP operator. I know that name operator creates attribute, then i can transform points using this attribute ex: @rvort==1, but how to delete points uisng attribute value ? It works when i use transform sop and others, but doesn't when use delete sop.

Please help,

Cheers

Scene file to better explain:

delete.hip

ha-ha, and do you know that everything works in your example if you use Blast SOP?))

Link to comment
Share on other sites

Guest Swann

Hey bareja,

Switch deleteSOP into expression and place point(opinputpath(".",0), $PT, "lvort", 0) into slot. This is attribute so it can't be accesed by just placing into group name.

Or maybe you found some mystique way to acces it with help of @ sign ?! Where did you get it ? I see usage of this for the first time.

pozdrawiam

Edited by SWANN
Link to comment
Share on other sites

Hey bareja,

Switch deleteSOP into expression and place point(opinputpath(".",0), $PT, "lvort", 0) into slot. This is attribute so it can't be accesed by just placing into group name.

Or maybe you found some mystique way to acces it with help of @ sign ?! Where did you get it ? I see usage of this for the first time.

pozdrawiam

Thanks for explain SWANN, I've thoguht if in Pattern type "*", operator will delete all points where attribute lvort==1, thanks again. Check documentation of Name SOP operator:

This is very similar to groups: using @name=foo is similar to creating a group foo and refering to it using @foo. However, name attributes have two differences from groups:

* Names are more efficient than groups. For example, you can assign

different names to hundreds or thousands of individual faces, while creating hundreds of groups, each with a single member, would be problematic.

* Names enforce the constraint that each primitive can only have

one name value at a time (that is, a primitive can

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