Jump to content

How to maintain parallel processing in attribute wrangle


Recommended Posts

My question is:  Can the following functionality be implemented with the node running in point mode?

Not sure this is possible but there may be a work around to keep it running in parallel?

I have dense geom (about a million or more points) at input 0

I have some points with 1 attribute "A" (a per point rotation value) at input 1

Using a for loop for each point at input 1, use its "A" value to rotate geom at input 0.

When geom at input 0 is rotated, use point at input 1 to shoot it at the rotated geom.

Add a point with the hitpoint coord, 

Create some attributes on the new point for distance, direction to hitpoint, etc.

I have spent several days, including implementing this with a foreach loops but that is way too slow.

Any suggestions appreciated.

 

Link to comment
Share on other sites

Can you rotate (and reposition) those "some points" upfront? Instead of rotating the heavy geometry.

Then you could use the Ray Sop just once, for all the "some points" and just one collision heavy geometry.

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