[Bf-cycles] Cycles range mapping math node
gandalf3
zzyxpaw at gmail.com
Sat Jun 11 06:18:10 CEST 2016
This is doable with a node group, but a built in node to match the
compositor would be nice.
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?
On 06/10/2016 07:21 PM, Mohamed Sakr wrote:
> Hi,
>
> is there a range mapping math node in Cycles?
> 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].
>
> this will help a lot.
> 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".
>
> and any suggestions would be helpful.
>
> cheers,
> Mohamed Sakr
>
>
> _______________________________________________
> 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/20160610/8c8fc231/attachment.htm
More information about the Bf-cycles
mailing list