by Zayad Motlib
Jul 3, 2011
Hello;
Is it possible to reverse the image sampler output values so that the black area is given value "1" and the white area is given value "0"?
Hi Zayad,
you can use the Remap Numbers Component (Math/Domain/RemapNumbers)
With this component you can define a new Range for a List of Numbers. If you set the Target Domain to
"1 To 0" all Numbers will be in the Range.
hope this helps
best
Christoph
Jul 4, 2011
Use a subtraction component that does:
1 - t
where t is the sampled value. Christophs solution is far more flexible but also a bit harder to understand.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
Cancel
Christoph Degendorfer
Hi Zayad,
you can use the Remap Numbers Component (Math/Domain/RemapNumbers)
With this component you can define a new Range for a List of Numbers. If you set the Target Domain to
"1 To 0" all Numbers will be in the Range.
hope this helps
best
Christoph
Jul 4, 2011
David Rutten
Use a subtraction component that does:
1 - t
where t is the sampled value. Christophs solution is far more flexible but also a bit harder to understand.
--
David Rutten
david@mcneel.com
Poprad, Slovakia
Jul 4, 2011