juztn Posted April 23, 2010 Share Posted April 23, 2010 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 Quote Link to comment Share on other sites More sharing options...
anim Posted April 23, 2010 Share Posted April 23, 2010 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 Quote Link to comment Share on other sites More sharing options...
juztn Posted April 23, 2010 Author Share Posted April 23, 2010 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 Quote Link to comment Share on other sites More sharing options...
MENOZ Posted April 30, 2010 Share Posted April 30, 2010 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? Quote Link to comment Share on other sites More sharing options...
anim Posted April 30, 2010 Share Posted April 30, 2010 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/... Quote Link to comment Share on other sites More sharing options...
MENOZ Posted April 30, 2010 Share Posted April 30, 2010 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? Quote Link to comment Share on other sites More sharing options...
mawi Posted April 30, 2010 Share Posted April 30, 2010 (edited) 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 April 30, 2010 by mawi Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.