Jump to content

gas field wrangle and point clouds ?


AME

Recommended Posts

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 :)  

Link to comment
Share on other sites

 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. 
Link to comment
Share on other sites

 

 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

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