# [Bf-cycles] Cycles range mapping math node

Thomas Volkmann lists at thomasvolkmann.com
Mon Jun 13 11:31:03 CEST 2016

```+1 for such a node.
I use it frequently when working in Softimage ('rescale' in ice, 'scalar change
range' in the rendertree) and it was the the first thing I did when playing with
animation-nodes. Here's the math:
https://github.com/knekke/animation-nodes/blob/master/nodes/number/mn_float_rescale.py

cheers,
Thomas

> Mohamed Sakr <3dsakr at gmail.com> hat am 13. Juni 2016 um 02:02 geschrieben:
>
>  this will normalize per value "which is not what I'm looking for".
>  what you mentioned is: if you have an array of values, normalizing them so
> they won't exceed a length of 1.
>  but what I'm looking for is: if you have an array of values, normalizing them
> so the result will be equal to value / max value in array
>
>  On Sun, Jun 12, 2016 at 10:20 PM, Мукаев Виктор <vitos1g at gmail.com
> mailto:vitos1g at gmail.com > wrote:
>    > >    There is a way to normalize values just by feeding it along with
>    > > zeros to 'Combine XYZ ' node, and then using VectorMath Normalize to
>    > > normalize them. And after that you can  Separate XYZ to get your
>    > > normalized values
> >
> >
> >
> >    On Sat, Jun 11, 2016 at 6:18 AM, gandalf3 <zzyxpaw at gmail.com
> > mailto:zzyxpaw at gmail.com > wrote:
> >    >However, what can't be done with a node group is a *normalize* node
> >    >(like the compositor), as this requires calculating the min and max
> >    >values, which AFIAK can't be done with math nodes. How feasible would it
> >    >be to implement such a node?
> >
> >    _______________________________________________
> >    Bf-cycles mailing list
> >    Bf-cycles at blender.org mailto:Bf-cycles at blender.org
> >    https://lists.blender.org/mailman/listinfo/bf-cycles
> >  >  _______________________________________________
>  Bf-cycles mailing list
>  Bf-cycles at blender.org
>  https://lists.blender.org/mailman/listinfo/bf-cycles
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.blender.org/pipermail/bf-cycles/attachments/20160613/02944939/attachment.htm
```