PDA

View Full Version : Question about "invert" node.

serge
01-20-2008, 04:55 AM
I'm trying to understand more about the working of nodes. I have a question about the "invert" node.

Either:

A) It doesn't work as it's supposed to. (unlikely)
B) The manual description isn't complete. (possible)
C) I don't understand it. (very possible)

From the manual:
The invert node simply inverts the input. The is done by
subtracting the In input from 1.0, so 0.0 will become 1.0 and
1.0 will become 0.0. The inversion will occur for intermediate
values also, so 0.2 inverted is 0.8, 0.7 inverted is 0.3 and
so on.

However, I found in my tests that if my input is greater than 1, then the result is always 0, and an input less than 0 always results in 1. But, 1-2=-1, and 1-(-1)=2, correct?

Medi8or
01-20-2008, 10:08 AM
B, kind of.
They do spesifically mention values between 0.0 and 1.0, so I guess it could be understood that values outside that range isn't "inverted" in the same way.

serge
01-21-2008, 04:54 AM
B, kind of...
I'm relieved to know that it's not A or C. :)