Jump to content

Points From Image (only non-alpha)


Atom

Recommended Posts

Thanks for the starting recipe. I am kind of stuck at adding the VOPSOP. Why doesn't this show up in my list? I tried the object context and inside the object but VOPSOP does not seem to exist anymore in R14?

 

Also, the texture node outputs a clr. How do I convert that to just get the 4th value, alpha, to do the compare?

post-12295-0-82710300-1427375063_thumb.p

Edited by Atom
Link to comment
Share on other sites

Vopsops don't exist anymore. The attribvop has replaced it. I guess many people still make a habit of saying vopsop when they mean the attribvop. (They are afraid to let go of their beloved vopsop!)

In the texture VOP you have to set the signature to RGBA values and then you can use a vector4 to float and take the 4th output, which is your alpha.

Edited by Robert
Link to comment
Share on other sites

Thanks for the information. I have come a little farther. 

 

There is no Delete in VOP and there is no Group either.

 

How do I remove the unwanted points from the result? (before I map the final points back into P)

post-12295-0-35369400-1427395522_thumb.p

Edited by Atom
Link to comment
Share on other sites

In the attribvop there is the add attribute vop which has the "group" attribute class. Deleting the points is done with the removepoint VOP or outside the attribvop with a blast or delete node.

The removepoint vop only needs a point number so you could skip the adding to group part probably.

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