Jump to content

Vellum Random colors


davidyannick

Recommended Posts

Hi,

you can use "Vellum Patch Name" attribute in vellumsource node to identify each iteration, then out of the dopnet (after vellumpostprocess) use a color SOP set to Random From Attribute: patchname. Patchname is a point attribute.

Is that the result you wanted?

Link to comment
Share on other sites

10 hours ago, curv.u said:

Hi,

you can use "Vellum Patch Name" attribute in vellumsource node to identify each iteration, then out of the dopnet (after vellumpostprocess) use a color SOP set to Random From Attribute: patchname. Patchname is a point attribute.

Is that the result you wanted?

thanks but no, Ii'd like each ball to have a different color

Capture_d’écran_2020-08-29_à_21_45_00.png

Link to comment
Share on other sites

oh yes, of course you should make patchname as unique identifier, so in vellumsource node add $OS_$F for example. The result will be "node_name"_"frame_number" ( = vellumsource_1 if you're on first frame). Check on the Spreadsheet to see the newly created names: your goal should be to have a different name for each frame a ball is emitted, that gives you the dissimilarity useful for the random function.

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