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?

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?