Jump to content

Instancing (object index)


Mr Mobius

Recommended Posts

Im totally lost here, Im trying to instance 5 different objects on 5 particles.

Im trying to match the shape id(if there is one) to the particle id. Ive been looking at the copy sop and stamping and also the Instance Pop, But I cant figure out where you would enter an expresion to cycle though the id's.

Please help me,

Cheers,

Ive looked at the zombie crowd sim that comes on the aprentice CD, But this seem to do more with morphing.

Link to comment
Share on other sites

Use a SwitchSOP, and input the different things into that sop.

Use an expression in the input channel :

param(foo,0)

In your copySOP input the SwitchSop as your source, the particles as your template. Make sure you click off transform Cumulativem, and go to the Stamping page. Toggle on the Stamp inputs button.

in the first Var1 enter:

foo

in the Param 1 channel enter:

$ID%5

This will give you what you want. You have 5 things to cycle through in the stamp, that's what the %5 will do (it's a modulus thing)

-k

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