This might be too obvious for you, but in case it helps others, here's an 
expression to set a value (in this case colour) to be .2 when using the GUI, 
and .8 when not.

I sometimes use this sort of thing to set motion blur in scanline renders (so 
it's fast in gui, but renders with motion blur). 

You have to watch out, because if you render a frame from the gui, gui is still 
set at 1 (unlike in Shake which would set a separate process and render with 
gui 0).

Hope it helps (someone!)

set cut_paste_input [stack 0]
version 6.1 v2
Constant {
 inputs 0
 channels rgb
 color {{"\$gui?.2:.8"}}
 name Constant6
 selected true
 xpos -1800
 ypos 15726
}



----- Original Message ----- 
From: "Sean Danischevsky" <sdani...@framestore.com> 
To: "Nuke user discussion" <nuke-users@support.thefoundry.co.uk> 
Sent: Friday, 11 March, 2011 7:03:31 PM 
Subject: Re: [Nuke-users] opposite of $gui 


Hmmm... what a metaphysical question! 

Not sure quite what you mean, but if you're using the gui, then $gui = 1, so 
the opposite (not using gui) is 

1-$gui 

Sean 



----- Original Message ----- 
From: "Randy Little" <randyslit...@gmail.com> 
To: "Nuke user discussion" <nuke-users@support.thefoundry.co.uk> 
Sent: Friday, 11 March, 2011 6:56:49 PM 
Subject: [Nuke-users] opposite of $gui 

Is there an opposite of using $gui? 


Randy S. Little 
http://www.rslittle.com 



_______________________________________________ 
Nuke-users mailing list 
Nuke-users@support.thefoundry.co.uk 
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users 


-- 
Sean Danischevsky 
Senior Compositing Artist 
Framestore 
19-23 Wells Street 
London 
W1T 3PQ 
Tel. +44 (0)20 7344 8000 


-- 
Sean Danischevsky 
Senior Compositing Artist 
Framestore 
19-23 Wells Street 
London 
W1T 3PQ 
Tel. +44 (0)20 7344 8000 
_______________________________________________
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

Reply via email to