why groups are not created in Copy SOP? [SOLVED]

   3282   4   1
User Avatar
Member
479 posts
Joined: Dec. 2009
Offline
I don't know why copyGroups are not created for each copy of the object being copied in the hip file created….

What I what to do is vary the height of the box being copied in random way.

Thanks!
Edited by - March 26, 2011 06:40:38

Attachments:
copyGroup.hipnc (58.6 KB)

User Avatar
Member
105 posts
Joined: July 2005
Offline
Hi,

You will need to use copyGroup$PT instead of the default copyGroup$CY to get each box that is copied to be in its own group.

To vary the height of the boxes being copied in a random way, you can make use of copy-stamping in the Copy SOP to do so. I have attached a modified hip file for your reference.

Cheers,
tk

Attachments:
copygroup_206_tk.hipnc (59.3 KB)

User Avatar
Member
479 posts
Joined: Dec. 2009
Offline
dear tkngs, thanks a lot!

what if i want the randomized pattern “randomly” varies as the key frame moves forward?

Thanks!
User Avatar
Member
105 posts
Joined: July 2005
Offline
Hi oat,

You're most welcome. To have the random pattern animated with time, you can insert a $F in the ‘height’ stamp variable. $F is the current ‘frame’ number.

I have attached the animated version of the file for reference.

Cheers,
tk

Attachments:
copygroup_206_animated_tk.hipnc (59.6 KB)

User Avatar
Member
479 posts
Joined: Dec. 2009
Offline
Thanks a lot, tkngs!
  • Quick Links