Jump to content

Copying with FOR EACH SOP?


Netvudu

Recommended Posts

Hi, I´m having some problems to copy letters over points. I want to copy each letter over a different point. I´m using the traditional method of using the Primitive SOP with Do Transformation activated and connecting the points to the second node input.

This method more or less works but it tends to disalign some letters when I create some particle effects on the template points.

I figured I could try a FOR EACH SOP copying each letter over a different point one by one. I already separated each letter into a different group via the Connectivity and Partition SOPs method.

Which nodes should I use inside the FOR EACH SOP? Some sort of Copy or rather a Transform SOP for different point numbers? Could anyone enlighten me with a simple example that copies two or three letters over a few points so that letter 1 is copied over point 1, letter 2 over point 2, etc?

Thanks!

Link to comment
Share on other sites

why not with Copy SOP? Well, obviously because this morning I was thick as a brick :P I just did it and it´s really simple with a single stamp.

I thought it would be a good chance to properly learn the For Each SOP...next time :)

Link to comment
Share on other sites

why not with Copy SOP? Well, obviously because this morning I was thick as a brick :P I just did it and it´s really simple with a single stamp.

I thought it would be a good chance to properly learn the For Each SOP...next time :)

That's a very simple example "how to copy with for each".

Notice that forEach SOP only works with primitives. So it would be a lot harder to make a good copy tool with points. Then this example show how to copy on primitives.

For make it clear: inside has a "prim" function. That returns the centroid of a primitive.

Cheers

forEachCopy.hipnc

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