heh, i just stumbled across the code, i didn't write it, nor do i have nuke
at home to test it. :)


On 27 December 2011 10:13, Simon Björk <[email protected]> wrote:

> Yes, I'm talking of the actual color of the node. I have a script where I
> have a lot of elements fading in at different time and it would be very
> easy to visually see if they are enabled by just looking at the color of
> the nodes.
>
> Matt, the method in the link you posted doesn't seem to work, nothing
> happens when I change the value of the checkboxes.
>
>
>
> 2011/12/26 matt estela <[email protected]>
>
>> I think Simon was talking about the colour of the node, not the result of
>> the mix itself.
>>
>> This might be what your after:
>>
>> http://pastebin.com/4dyBTAnP
>>
>>
>>
>> On 27 December 2011 05:27, Diogo Girondi <[email protected]> wrote:
>>
>>> this.mix==1?0:1
>>> this.mix==1?1:0
>>>
>>> Just add the first line to the red channel and the second to the green
>>> channel. But if you need to "dissolve" between the values use:
>>>
>>> abs(-1+this.mix)
>>> this.mix
>>>
>>> For red and green respectively.
>>>
>>>
>>> On 26/12/2011, at 13:06, Simon Björk <[email protected]> wrote:
>>>
>>> Is there a way to add an expression to the color of a node? For example
>>> I have a node with a mix slider and want the color of the node to be green
>>> if the value is 1 and red if the value is 0. But I can't find a way to add
>>> an expression to this.
>>>
>>> --------------------------------
>>> Stiller Studios
>>> Lidingö/Sweden
>>>
>>> Simon Björk
>>> Stiller Studios
>>> +46 (0)8 555 23 560
>>> Ekholmsnäsvägen 40, S-181 41 Lidingö
>>> [email protected]
>>> www.stillerstudios.se
>>>
>>> find us:
>>> http://www.eniro.se/query?search_word=stiller+studios&geo_area=liding%F6&what=all
>>>
>>>
>>>  _______________________________________________
>>> Nuke-users mailing list
>>> [email protected], http://forums.thefoundry.co.uk/
>>> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
>>>
>>>
>>> _______________________________________________
>>> Nuke-users mailing list
>>> [email protected], http://forums.thefoundry.co.uk/
>>> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
>>>
>>
>>
>> _______________________________________________
>> Nuke-users mailing list
>> [email protected], http://forums.thefoundry.co.uk/
>> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
>>
>
>
>
>  --
> --------------------------------
> Stiller Studios
> Lidingö/Sweden
>
> Simon Björk
> Stiller Studios
> +46 (0)8 555 23 560
> Ekholmsnäsvägen 40, S-181 41 Lidingö
> [email protected]
> www.stillerstudios.se
>
> find us:
> http://www.eniro.se/query?search_word=stiller+studios&geo_area=liding%F6&what=all
>
>
>
> _______________________________________________
> Nuke-users mailing list
> [email protected], http://forums.thefoundry.co.uk/
> http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
>
_______________________________________________
Nuke-users mailing list
[email protected], http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

Reply via email to