Jump to content

Point index in VOP


Recommended Posts

Hey everyone.

I'm very fresh with Houdini and I'm sitting trying to get my head around VOPs.

What I would like to do is the same as the aimPointNormals example but in VOPs.

My only problem is how I can find a way to shift the index of the point position (P).

I have tried to plug in and addconstant to the ptnum to add to the index but how do I

combine is to get the point position for the corresponding ptnum?

Hope this makes sense...I guess I'm a so called n00b :)

J

Link to comment
Share on other sites

Thank you my friend! Just what I needed. I just have to get my head around how to access the different information.

I was looking for a node to plug the pnum and P from the Global node to do the same thing without "re-importing" the position.

In my mind that would make sense but, hey, this works just fine and dandy :)

Link to comment
Share on other sites

there is Import Attribute VOP where you can plug your computed ptnum and choose input index and name of the attribute you want to import in your case P

hi, in the VOP POP there is only one input. how does the import attribute vop find a second input?

Link to comment
Share on other sites

it will not, how could it if there is no second input?

but you can use Get Attribute VOP if you have geometry you want to use

then in file parameter you can write path to your SOP like: op:/obj/...

ok.

and point count vop? this needs a input index too, is there an alternative node?

Link to comment
Share on other sites

ok.

and point count vop? this needs a input index too, is there an alternative node?

Set the signature to file and do as anim said.

then in file parameter you can write path to your SOP like: op:/obj/...

Edit.

Or put down a parameter and do expression npoints(surface_node)

Edited by mawi
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...