View Full Version : scale linked to transparency

kidult one
01 January 2007, 10:58 AM
I have a cube that scales up in y (its a loading bar of sorts) as it starts getting to the top (fully loaded if u will) i need some text to fade in. (it scales from 0 to 1 unit)
I tried linking the transparency RGB sliders to the scale but i get the oppistie effect as 1 unit of scale equals 1 in the rgb channels which is 100% opaque
As Im not so good with maths i have no idea how to change 0 to equal 1 and vice a versa.
I also tried some vector math nodes in the render tree with expressions but cant seem to get anything to work?

01 January 2007, 11:38 AM
its simple y = 1 - x

kidult one
01 January 2007, 12:44 PM
thank you..... not so simple when your grasp of maths=0 :D

CGTalk Moderation
01 January 2007, 12:44 PM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.