vop question

   2863   1   0
User Avatar
Member
313 posts
Joined: July 2005
Offline
I am a CG student. I just want to know how to invert a colour swatch or colour of image in Vex builder. because normally we put (1-XXX) to invert a colour. How do it do it in Vex builder?

thanls
User Avatar
Member
941 posts
Joined: July 2005
Offline
brucelay
I am a CG student. I just want to know how to invert a colour swatch or colour of image in Vex builder. because normally we put (1-XXX) to invert a colour. How do it do it in Vex builder?

Try the Complement VOP. This gives you (1-x).
For numerical inversion use the Invert VOP. It does (1/x) where x is either a float or a matrix.

You can also use a Constant VOP set to the value 1, and feed it to either a Divide or Subtract VOP to achieve the same results.

Cheers!
Mario Marengo
Senior Developer at Folks VFX [folksvfx.com] in Toronto, Canada.
  • Quick Links