<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <p>This is doable with a node group, but a built in node to match
      the compositor would be nice.</p>
    <p>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?<br>
    </p>
    <br>
    <div class="moz-cite-prefix">On 06/10/2016 07:21 PM, Mohamed Sakr
      wrote:<br>
    </div>
    <blockquote
cite="mid:CABgy2LtJ02pvvbQu-_OAGAEF2Gzid1MakxRgky+b_BpQvfk1ew@mail.gmail.com"
      type="cite">
      <div dir="ltr">Hi,<br>
        <br>
        is there a range mapping math node in Cycles?<br>
        consider a texture input "or any attribute", it is an array of
        data, ranging [start, end], this node will do a pre-calculation
        to a new texture using the required range [newStart, newEnd].<br>
        <br>
        this will help a lot.<br>
        I can do it, just need a hint on: where to write the new
        functions "which files/functions that are related to writing a
        new node".<br>
        <br>
        and any suggestions would be helpful.<br>
        <br>
        cheers,<br>
        Mohamed Sakr</div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
Bf-cycles mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Bf-cycles@blender.org">Bf-cycles@blender.org</a>
<a class="moz-txt-link-freetext" href="https://lists.blender.org/mailman/listinfo/bf-cycles">https://lists.blender.org/mailman/listinfo/bf-cycles</a>
</pre>
    </blockquote>
    <br>
  </body>
</html>