Jump to content

VOP: Random choose from multiple values


Recommended Posts

Hi!

I have acrazy Idea: I would use ramp for a random choose from values.

For example, I have 3 values: 0.1, 1, 0.56 with different "possibility" of choose.

So I've build a ramp with constant interpolation:

post-2272-0-74308100-1363707591_thumb.jp

So now I wil get random number, let say, 0.56. As we can see, this number is placed in the middle of ramp and result will be "1" (second from list).

This working perfectly, but I have a question: How to build or edit this ramp not by hand but inside of VOP?

Thank you in advance!

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