fbpx
3 Post Moderation Rule for New Boarders (25 Jan 2021)

New boarders will have their posts moderated - Don't worry if you cannot see your post immediately.

Rigging - how to inverse a slider?

More
27 Jan 2013 17:26 - 27 Jan 2013 17:28 #20476 by Karsten Schlüter
I made me some 'fake HDR'-effect, and for convenience, I would like to rig two parameters into a single slider.

unfortunately, I'd like to move the two parameters inverse,
rig slider left: A=0%/B=100%,
rig slider right: A=100%/B=0% ...

I assume, silly simple, but I don't know how ..... ? :huh:
Last edit: 27 Jan 2013 17:28 by Karsten Schlüter.

Please Log in to join the conversation.

More
27 Jan 2013 17:52 #20479 by BenB
What parameters are rigged to those sliders?

What you need is the Link parameter behavior, and set it to -1 to do the exact opposite of what it is linked to. But you can't give parameter behaviors to rigs like that. Thus, you'll want to link up the parameters first, then create one single rig slider.

Please Log in to join the conversation.

More
30 Jan 2013 13:25 #20632 by alex4D
Karsten,

0. Make sure 'Slider Right' and 'Slider Left' aren't published because you'll be creating a new Slider widget that will control both.

1. Before you create your new slider, set the value of 'Slider Right' to 0% and the value of 'Slider Left' to 100%.

2. In the Inspector, Right- or Control-click the 'Slider Right' parameter and add it to a new slider widget using the pop-up menu. (Add to Rig > Create New Rig > Add to New Slider)

3. Rename your new 'Slider' by double-clicking the name in the layers list and entering a new name.

4. Right- or Control-click the 'Slider Left' parameter and add it to the new slider widget (that you created in step 2) using the pop-up menu.

5. Select your new 'Slider' widget. In the inspector you'll see the value of 0 in your new slider corresponds to 'Slider Right' being 0% and 'Slider Left' being 100%. Change the value of your new slider to 100, then modify the values of the 'Slider Right' to 100% and 'Slider Left' to 0%. Try out your new slider by dragging its thumb and see the values of both 'Slider Left' and 'Slider Right' change.

6. You can publish your new widget by right- or control-clicking it's name in the inspector and choosing Publish.


@Alex4D

Please Log in to join the conversation.

More
31 Jan 2013 07:25 #20698 by Karsten Schlüter
@Alex,

THANK YOU for your, again profound answer!
as a hobbyist, I like step-by-step recipes as a first advice.
to understand, what I'm doing here, comes later ...

@Ben
sorry, for haven't answered your questions ... real-life kept me away from my hobby!

.... and I'm actually completely 'constrained' by my latest discovery 'Optical Flow as Poor Man's Bullet Time' ... tinkering in my garage sort-of rig to fix two cams (yes, a very poor solution), first tests are promising ....

SpecialFX are a plague ..... :lol:

Please Log in to join the conversation.

More
31 Jan 2013 17:36 #20710 by BenB
Alex, wouldn't it be easier to link the original parameters together, then only have one slider Rig?

Please Log in to join the conversation.

More
31 Jan 2013 19:18 #20720 by alex4D
BenB

It might be better to publish one and use a Link Parameter Behavior to the other an Apply Mode of Add to Source and a scale of -1, but I thought it best to introduce the concept of one widget controlling more than one parameter.

@Alex4D

Please Log in to join the conversation.

More
01 Feb 2013 07:43 #20766 by Karsten Schlüter

alex4D wrote: … I thought it best to introduce the concept of one widget controlling more than one parameter. …


It was indeed exactly what I was looking for! Thanks again.

Please Log in to join the conversation.