Jump to content

Randomize Copy to Points


kiryha

Recommended Posts

Hello, 

I need to copy to points same object with some variations. E.g. I have a line with noise, and I want each copy has different noise value.

What is the latest workflow for this? Is this still relevant:

https://www.sidefx.com/tutorials/copy-stamping-and-the-foreach-loop/

Edited by kiryha
  • Like 1
Link to comment
Share on other sites

Hi Kiryha,

The latest workflow is to use a for-each loop. Within the for-each loop, you can reference the iteration number. The iteration number will be unique to every point, so you can reference it to offset the noise value.

The video you are watching is still relevant from about 15min onwards. 

CopyToPoints.hip

  • Like 2
Link to comment
Share on other sites

my take, after copy item to each of your point on the curve by `Copy To Point`, use a Connectivity node

Add an attribute wrangle to random the attribute `offset` which later `Attribute Noise` has that parameter channel, so it will create multiple different noise per connectivity found

Image to visualize different noise per grid copy into a noise curve https://imgur.com/a/g6NLF8i

random_noise_per_item.hip

  • Like 2
Link to comment
Share on other sites

10 hours ago, RobiDoes3d said:

Hi Kiryha,

The latest workflow is to use a for-each loop. Within the for-each loop, you can reference the iteration number. The iteration number will be unique to every point, so you can reference it to offset the noise value.

The video you are watching is still relevant from about 15min onwards. 

CopyToPoints.hip 229.52 kB · 5 downloads

Nice way to do it !

  • Like 1
  • Thanks 1
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...