rohandalvi Posted May 29, 2014 Share Posted May 29, 2014 hi, I have been experimenting with particle in Houdini 13 and there are a few problems that I am facing especially with getting attributes from second input geometry. My question is how do I get attributes which are on my second input geo into my VOP POP. Here is how far I have gotten - 1. Connect a grid into input one into POP network and a sphere into second input. 2. Emit particles 3. Add a VOP POP and in Inputs select in input 1 "second context geometry" 4. Go into VOP POP. Add a get attribute. 5. Connect Opintput 1 into file input of "get attribute" now comes the problem. I can only access one point. How do I get the point/ primitive numbers($PT/$PR) of the Sphere into vop pop. It lets me access one point but how do I access all the points. If I connect the ptnum from the globals, will that do it or does that belong to the main geo/particles. At SOP level in VOPS there is "import attribute" node. that has a OP input index which makes it very simple. Tried using a Point cloud . I was following a tut. used the "opfullpath" function but even that doesn't seem to work. Tried to do the same thing with Wrangle POP. used "@P = point(1, "P", @ptnum)" so that worked. But VOP POP is still an issue. any help will be most appreciated. Following a lot of the old particle tuts in the new context are beginning to be a problem due to the changes made in H13. regards Rohan Dalvi Quote Link to comment Share on other sites More sharing options...
wateryfield Posted May 30, 2014 Share Posted May 30, 2014 Sometimes an simple hip file is much better than a long words. I think most guys are like to help you by take a look at your HIP. Quote Link to comment Share on other sites More sharing options...
rohandalvi Posted May 30, 2014 Author Share Posted May 30, 2014 Hi, Sorry I completely forgot to upload a hip file. So , this is a simple file which has two inputs geos with different point counts. How do i get the point numbers of the second geometry input. regards Rohan goals.hipnc Quote Link to comment Share on other sites More sharing options...
mawi Posted May 30, 2014 Share Posted May 30, 2014 You select the point you want to import with the i1 input on the get attribute node. If you pipe you global ptnum there... point 0 in your "main" geometry will fetch the position of point 0 in the second input... point 1 in your "main" geometry will fetch the position of point 1 in the second input... ...And so on... This is the same as point(1, "P", @ptnum) Quote Link to comment Share on other sites More sharing options...
rohandalvi Posted May 30, 2014 Author Share Posted May 30, 2014 thanks that worked. I also finally got the point cloud node to work. I was making a silly mistake. Finally understanding how the point cloud stuff works. regards Rohan Quote Link to comment Share on other sites More sharing options...
breadbox Posted October 10, 2014 Share Posted October 10, 2014 I have a similar question, but I am trying to transfer an animated Cd attribute to the particles. I am using global ptnum, but it gives odd results. Hip attached. ParticleColorProblem - Copy.hipnc Quote Link to comment Share on other sites More sharing options...
Skybar Posted October 11, 2014 Share Posted October 11, 2014 I have a similar question, but I am trying to transfer an animated Cd attribute to the particles. I am using global ptnum, but it gives odd results. Hip attached. Here you go: ParticleColorProblem_dv.hipnc Quote Link to comment Share on other sites More sharing options...
breadbox Posted October 13, 2014 Share Posted October 13, 2014 great thanks, I was also experimenting with new pops and found that it worked fine with the new pop system. I have some older pop networks that I am trying to keep alive. Is there a way to do this with old pops so I don't have to port everything over? Maybe old pops are just old and should not be used anymore...but the nodes are the same in the vop pops and one would think they should work the same. Quote Link to comment Share on other sites More sharing options...
Skybar Posted October 13, 2014 Share Posted October 13, 2014 Right, my bad. Here you go ParticleColorProblem_dv_takeTwo.hipnc Quote Link to comment Share on other sites More sharing options...
breadbox Posted October 14, 2014 Share Posted October 14, 2014 ok cool, that's basically what I had, but was a syntax error. on the op: file path. 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.