AME Posted February 28, 2015 Share Posted February 28, 2015 Hi everyone. I need to open a point cloud in a gasfieldwrangle - node but i need the point cloud to update for each frame as well. Any ideas how to do this. In the geometry context i would simply wire the geometry to one of the inputs in a volume wrangle node and call the pcopen- function, but I can't this as a possibility in DOPS. Any help is greatly appreciated Quote Link to comment Share on other sites More sharing options...
pbarua Posted February 28, 2015 Share Posted February 28, 2015 You can add spare parameter then reference that in wrangle. Or can wire that geometry to DOP Network SOP then it can be access by @OpInput0 or 0 and so on. Quote Link to comment Share on other sites More sharing options...
AME Posted March 1, 2015 Author Share Posted March 1, 2015 Thanks a lot Pradeep. I tried to implement the stuff you suggested (correct me if i'm wrong) but somehow i still can't make the wrangle node open the point cloud. I wired a geometry copy node to the input of the gas field wrangle node and wrote: hnd = pcopen('op:`opinputpath(".", 0)`','P',pos,0.2,99999); as the vex-snippet, where the position is some vector. It still returns 0 though... I also tried with the absolute path but to no avail. Quote Link to comment Share on other sites More sharing options...
pbarua Posted March 2, 2015 Share Posted March 2, 2015 Thanks a lot Pradeep. I tried to implement the stuff you suggested (correct me if i'm wrong) but somehow i still can't make the wrangle node open the point cloud. I wired a geometry copy node to the input of the gas field wrangle node and wrote: hnd = pcopen('op:`opinputpath(".", 0)`','P',pos,0.2,99999); as the vex-snippet, where the position is some vector. It still returns 0 though... I also tried with the absolute path but to no avail. It should be written as: hnd = pcopen(0, "P", @P, 0.2, 99999); // where @P is position can be replaced with @pos Quote Link to comment Share on other sites More sharing options...
pbarua Posted March 2, 2015 Share Posted March 2, 2015 hnd = pcopen('op:`opinputpath(".", 0)`','P',pos,0.2,99999); Only full path allowed inside wrangles. Since your Geometry is wired to first input so just put geoself() or 0. 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.