how to map value in CHOP?
something like maping the whatever output of a node to value between 0 and 1 automatically. i can use math CHOP , in range tab , set from range & to range. But using this way, i have to type the min - max value of the input (the input min-max i can see by MMB).
is there any other chop that can do this better?
or what variables that store the min/max output of a node?
thanx
map value in chop
4367 4 1- metaclay
- Member
- 122 posts
- Joined: May 2006
- Offline
- JColdrick
- Member
- 4140 posts
- Joined: July 2005
- Offline
You'll need to feed the incoming min and max to the Math CHOP, which can be done automatically by using icmin() and icmax() in the “From” range in the Math CHOP. For example,
icmax(0,0) returns the maximum value of the first index of the first channel incoming to the Math CHOP.
Cheers,
J.C.
icmax(0,0) returns the maximum value of the first index of the first channel incoming to the Math CHOP.
Cheers,
J.C.
John Coldrick
- stevenong
- Member
- 1631 posts
- Joined: July 2005
- Offline
- metaclay
- Member
- 122 posts
- Joined: May 2006
- Offline
thanx guys,
just curious : when using geo CHOP to grab attrib, MMB : i can see the min/max globally, but also there are min/max perpoint . is this information also available through some variable?
and also , does anyone know how to smooth curve in chop?
example : if my ch curve is jaggies , how to make it smooth?
is there any op that can do it better than spline CHOP?
thanx.
just curious : when using geo CHOP to grab attrib, MMB : i can see the min/max globally, but also there are min/max perpoint . is this information also available through some variable?
and also , does anyone know how to smooth curve in chop?
example : if my ch curve is jaggies , how to make it smooth?
is there any op that can do it better than spline CHOP?
thanx.
- aracid
- Member
- 154 posts
- Joined: July 2005
- Offline
-
- Quick Links