Copying with FOR EACH SOP?

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!

Share on other sites

well, I solved my aligning problems, but I would still like to know what was the ForEach proper way of doing it to become a Houdini guru around the year 2514

Edited by Netvudu
Share on other sites

why not just use Copy SOP and copy stamping?

what benefits do you expect from ForEach?

of course for one polygon letters the fastest way is Primitive SOP

Share on other sites

why not with Copy SOP? Well, obviously because this morning I was thick as a brick 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

Share on other sites

why not with Copy SOP? Well, obviously because this morning I was thick as a brick 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

Share on other sites

Oh sent it with the cheese file from sidefx. My mistake. Huhauahuah!

forEachCopy.hipnc

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.

×   Pasted as rich text.   Paste as plain text instead

Only 75 emoji are allowed.

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×