Ramp Parameter ranges?
8586 9 2- phoehsl
- Member
- 38 posts
- Joined: Oct. 2017
- Offline
Is there any way to extend the ranges of a ramp parameter in an Attribute Wrangle to go beyond 0 and 1? I can set a point to a value outside the visible range (like -0.5, 2, or anything else), but can't visually grab / adjust the curve because those points lie outside the visible field.
Thanks, Peter
Thanks, Peter
Edited by phoehsl - Feb. 17, 2018 03:08:45
- jsmack
- Member
- 8041 posts
- Joined: Sept. 2011
- Offline
No, you can't change the range displayed by the ramp. If you need to extend the range, consider remapping the output instead.
For example, if you want to make a hill shape that bottoms out at -0.5, draw the shape within the visible bounds of the ramp (0-1), and use the fit function, or add/subtract/multiply to remap the output to the desired range.
If you really need an ‘unbounded’ canvas for your ramp, you can use a channel instead. Any parameter with keyframes can be treated like a ramp using the chf() vex function. Simply pass the input value of the ramp as the time for the channel. e.g.
For example, if you want to make a hill shape that bottoms out at -0.5, draw the shape within the visible bounds of the ramp (0-1), and use the fit function, or add/subtract/multiply to remap the output to the desired range.
If you really need an ‘unbounded’ canvas for your ramp, you can use a channel instead. Any parameter with keyframes can be treated like a ramp using the chf() vex function. Simply pass the input value of the ramp as the time for the channel. e.g.
@Cd = chf("curve_parm", @uv.x);
- Aizatulin
- Member
- 495 posts
- Joined: July 2005
- Offline
Hi,
I think it will be a really nice to have feature, if you have an additional advanced control float ramp (like the fcurve in XSI ICE), where you have similar functionalities like the animation editor. Of course you can already use the workaround jsmack discribed, but I think it will be more comfortable, if the control can be connected to the wrangle, instead of connecting the channel names and switching between wrangle and animation editor.
I think it will be a really nice to have feature, if you have an additional advanced control float ramp (like the fcurve in XSI ICE), where you have similar functionalities like the animation editor. Of course you can already use the workaround jsmack discribed, but I think it will be more comfortable, if the control can be connected to the wrangle, instead of connecting the channel names and switching between wrangle and animation editor.
- phoehsl
- Member
- 38 posts
- Joined: Oct. 2017
- Offline
- david_maas
- Member
- 59 posts
- Joined: Feb. 2008
- Offline
- BabaJ
- Member
- 2127 posts
- Joined: Sept. 2015
- Offline
- Aizatulin
- Member
- 495 posts
- Joined: July 2005
- Offline
- phoehsl
- Member
- 38 posts
- Joined: Oct. 2017
- Offline
- Aizatulin
- Member
- 495 posts
- Joined: July 2005
- Offline
- BabaJ
- Member
- 2127 posts
- Joined: Sept. 2015
- Offline
-
- Quick Links