Jump to content

Copy Stamp - outward rotation


reeson

Recommended Posts

don't copy stamp, use template point attributes instead (N, up, orient).

if you just want random rotations for each object, you can use the Attribute Randomize SOP to generate a vector4 (use four dimensions) attribute called "orient", with the Distribution mode set to "Direction or Orientation". set this on the points that you copy to, before the copy SOP, and the instances will all be rotated.

Edited by toadstorm
Link to comment
Share on other sites

Thanks.

What about if you have 2 geometries (box, sphere) plugged into switch followed by a transform for the offset. How can you make a copy stamp with a 360/$NCY in Z rotation, so each time you increase the copy number, you would get a box for all odd numbers, and a sphere for all even numbers, thus forming a circle made of box, sphere, box, sphere, box, sphere, etc...

 

 

copy.thumb.PNG.fa1e94d60bb0c88a73f5c831b9095e7c.PNG

Link to comment
Share on other sites

Again, don't use a copy stamp.

You can define all your template points in advance, then use groups to separate even / odd points, then copy the appropriate geometry to each group. Alternatively, you can use a For/Each loop to define which geometry gets copied to which point. It's a little more complicated, but it scales up much better than Copy Stamping does, especially when compiled.

I'm attaching an example of both methods.

copy_sop_switching_toadstorm.hip

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