is there any expression that can map values from one range to another range. ‘fit’ expression only can do linear mapping, i'm looking more advance expression similar to ‘driven key’ in maya. with ‘driven key’, i can do a non-linear mapping. example : map 0,5,10 to 0,30,10000. the ‘fit’ can only map 0,5 to 0,30
anyone can help?
thx,
clay~
'set driven key' in houdini
5392 2 2- clay
- Member
- 58 posts
- Joined: July 2005
- Offline
- digitallysane
- Member
- 1192 posts
- Joined: July 2005
- Offline
- rangi
- Member
- 306 posts
- Joined: July 2005
- Offline
Try using the chf() function… type exhelp chf in the textport.
Create a spare channel or a param of an hda, set keyframes on this channel or put expressions into or however you want to define the function.
Then reference it with something like chf(“../myFunctionChannel”, ch(“../myInputChannel”))
This is a roll your own version of maya's driven keys.
Hope this helps,
Rangi.
Create a spare channel or a param of an hda, set keyframes on this channel or put expressions into or however you want to define the function.
Then reference it with something like chf(“../myFunctionChannel”, ch(“../myInputChannel”))
This is a roll your own version of maya's driven keys.
Hope this helps,
Rangi.
“First things first – but not necessarily in that order”
– The Doctor
– The Doctor
-
- Quick Links