Jump to content

Connect multiparm ramps


freax

Recommended Posts

Hey Odforcers,

 

I'm quite new here and have a question for you guys!
Currently I'm working on a tool and the basic idea of the tool is that the user inputs some curves, is able to create tweaks on the curves seperatly if they want to, and after that, i will do some other stuff with the curves that is not important right now ;)

i.e I want to give the user contol over the color of the curve based on a ramp (user input). 
So in the parameter interface,  I created a multiparm folder with a ramp in it. This way the user can make let's say 3 color ramps for 3 curves. The idea was that i created a for loop, with pointvop (witch sets the color ramp on the points), and based on the loop iteration a different ramp from the controller is used. (I hope this clear for you?) This is where the problem get's in! I have no idea how to reference the ramp values from the controller.
 

In the example file is a test with just a single color, witch works fine! But I get stucked when I try it with a ramp.
So my question is, is there a way to connect the ramp attribute from the loop to the ramp in the controller? Or otherwise, how would you deal with the issue if the user should have control over separate objects?

Al the help would be very welcome!
Thnx!

colorCurve_example.hip

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