Re: [Nuke-users] OCIO frustrations

2014-08-17 Thread Ben Dickson
Technically environment variables can't change for a running process..
but Python stores them as a mutable os.environ dictionary. However, OCIO
doesn't track changes to Python's os.environ dict, thus the unfortunate
behaviour you are seeing.


The solution to this is using the Context tab on any OCIO node.  These
override the environment variables, and can evaluate expressions such as
[getenv ...] or [metadata ...] as Andy mentioned.

We use $JOB/$SEQ/$SHOT in most of our configs, so we do this by default:

ocio_nodes = [OCIODisplay, OCIOColorSpace, OCIOLookTransform]
for nodename in ocio_nodes:
for num, envvar in enumerate((JOB, SEQ, SHOT)):
num += 1
nuke.knobDefault(%s.key%d % (nodename, num),
 envvar)
nuke.knobDefault(%s.value%d % (nodename, num),
 [getenv %s] % envvar)

..which sets the default for key1=JOB and value=[getenv JOB] on each
of the OCIO nodes, and same for $SEQ and $SHOT

This should be mentioned in the docs, I've made a ticket about updating
the docs in this regard,
https://github.com/imageworks/OpenColorIO/issues/371

On 16/08/14 08:23, Ned Wilson wrote:
 Hello all,
 
 Like many of you, I am working inside a pipeline where the client provides a 
 separate CDL file for each shot. In order to view these properly, the files 
 must be first in Alexa Log colorspace, and then a CDL is applied, followed by 
 a 3D LUT file.
 
 One of the things that OCIO seems to mention frequently in the documentation 
 is its ability to recognize context/environment variables. So, you can look 
 for ${SEQ}/${SHOT}/grade/${SHOT}.cdl and apply it, in theory, as part of an 
 OCIO config.
 
 The only problem is, it would appear that OCIO only calculates these 
 variables ONCE at application startup? I have scripts that run when the 
 onScriptLoad event handler is triggered that alter these environment 
 variables based on the script that is opened. However, it would appear that 
 OCIO is not listening for any changes to the environment variables while Nuke 
 is running? 
 
 Do I have this right? If not, what am I doing wrong?
 
 -n
 
 ___
 Nuke-users mailing list
 Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
 http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users
 

-- 
ben dickson
2D TD | ben.dick...@rsp.com.au
rising sun pictures | www.rsp.com.au
___
Nuke-users mailing list
Nuke-users@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/
http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users


Re: [Nuke-users] cloud rendering anybody?

2014-08-17 Thread Ryan O'Phelan
Are you sure zyncrender has stopped?  I just used them in March,  and I
didn't get any notifications from them about service stopping.

They are great,  and super easy to set up.

R
On Aug 16, 2014 2:15 AM, Ron Ganbar ron...@gmail.com wrote:

 I didn't use them with Nuke, no. Maya.



 Ron Ganbar
 email: ron...@gmail.com
 tel: +44 (0)7968 007 309 [UK]
  +972 (0)54 255 9765 [Israel]
 url: http://ronganbar.wordpress.com/


 On Sat, Aug 16, 2014 at 12:09 AM, Frank Rueter|OHUfx fr...@ohufx.com
 wrote:

  thanks. I checked Rebus first but didn't see a Nuke option.
 Did you use it with Nuke?


 On 15/08/14 20:54, Ron Ganbar wrote:

 Zync stopped offering their service a little while ago, far as I
 remember.

  I used this once: http://www.rebusfarm.com/



 Ron Ganbar
 email: ron...@gmail.com
 tel: +44 (0)7968 007 309 [UK]
  +972 (0)54 255 9765 [Israel]
 url: http://ronganbar.wordpress.com/


 On Fri, Aug 15, 2014 at 11:25 AM, marlor.l...@gmail.com wrote:

 never used it in production, but I remember on the foundry vimeo channel
 a video that used a platform called ZYNC


  On Fri, Aug 15, 2014 at 4:37 AM, Frank Rueter|OHUfx fr...@ohufx.com
 wrote:

  Thanks, might check it out thuogh it sounds a bit more time consuming
 to get going than I was hoping.
 The Nuke script in question only has one large texture, the rest is
 default nuke nodes, so should be easy enough to get going remotely.

 Cheers,
 frank



 On 15/08/14 14:24, Fredrik Averpil wrote:

  We're using Amazon. Setting up a Linux machine or Windows machine is
 easy peasy.

  In Amazon AWS, you need to set up a VPC with VPN connection to your
 local network so that the Amazon machines will be able to access your
 license server(s) and possibly scripts such as init.py and any plugins
 which may be installed in an arbitrary and local location.

  Whatever you do, don't make Amazon machines read data on the fly from
 your local file server. That's going to be insanely slow. I'm still
 experimenting with the best solution to sync files over to Amazon. You
 could set up a machine (with a bit more storage than the render
 machines) which could act as file server.



  // Fredrik



  Does anybody have experience with rendering nuke via an online
 service?
 It might save me butt next week :)


 Cheers,
 frank


 --
   [image: ohufxLogo 50x50] http://www.ohufx.com *vfx compositing
 http://ohufx.com/index.php/vfx-compositing | workflow customisation and
 consulting http://ohufx.com/index.php/vfx-customising *



  ___
 Nuke-users mailing listnuke-us...@support.thefoundry.co.uk, 
 http://forums.thefoundry.co.uk/http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users


 --
   [image: ohufxLogo 50x50] http://www.ohufx.com *vfx compositing
 http://ohufx.com/index.php/vfx-compositing | workflow customisation and
 consulting http://ohufx.com/index.php/vfx-customising *

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



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




 ___
 Nuke-users mailing listnuke-us...@support.thefoundry.co.uk, 
 http://forums.thefoundry.co.uk/http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users


 --
   [image: ohufxLogo 50x50] http://www.ohufx.com *vfx compositing
 http://ohufx.com/index.php/vfx-compositing | workflow customisation and
 consulting http://ohufx.com/index.php/vfx-customising *

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



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

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

Re: [Nuke-users] cloud rendering anybody?

2014-08-17 Thread Ben Dickson
http://www.studiosysadmins.com/board/threadview/4727/

As of Monday 5/5, ZYNC will no longer be available as a public
on-demand service. For current customers actively using us ZYNC for
projects, we'll remain available until 5/15.

On 18/08/14 12:07, Ryan O'Phelan wrote:
 Are you sure zyncrender has stopped?  I just used them in March,  and I
 didn't get any notifications from them about service stopping. 
 
 They are great,  and super easy to set up.
 
 R
 
 On Aug 16, 2014 2:15 AM, Ron Ganbar ron...@gmail.com
 mailto:ron...@gmail.com wrote:
 
 I didn't use them with Nuke, no. Maya.
 
 
 
 Ron Ganbar
 email: ron...@gmail.com mailto:ron...@gmail.com
 tel: +44 (0)7968 007 309 tel:%2B44%20%280%297968%20007%20309 [UK]
  +972 (0)54 255 9765 tel:%2B972%20%280%2954%20255%209765 [Israel]
 url: http://ronganbar.wordpress.com/
 
 
 On Sat, Aug 16, 2014 at 12:09 AM, Frank Rueter|OHUfx
 fr...@ohufx.com mailto:fr...@ohufx.com wrote:
 
 thanks. I checked Rebus first but didn't see a Nuke option.
 Did you use it with Nuke?
 
 
 On 15/08/14 20:54, Ron Ganbar wrote:
 Zync stopped offering their service a little while ago, far as
 I remember.

 I used this once: http://www.rebusfarm.com/



 Ron Ganbar
 email: ron...@gmail.com mailto:ron...@gmail.com
 tel: +44 (0)7968 007 309 tel:%2B44%20%280%297968%20007%20309
 [UK]
  +972 (0)54 255 9765 tel:%2B972%20%280%2954%20255%209765
 [Israel]
 url: http://ronganbar.wordpress.com/


 On Fri, Aug 15, 2014 at 11:25 AM, marlor.l...@gmail.com
 mailto:marlor.l...@gmail.com wrote:

 never used it in production, but I remember on the foundry
 vimeo channel a video that used a platform called ZYNC


 On Fri, Aug 15, 2014 at 4:37 AM, Frank Rueter|OHUfx
 fr...@ohufx.com mailto:fr...@ohufx.com wrote:

 Thanks, might check it out thuogh it sounds a bit more
 time consuming to get going than I was hoping.
 The Nuke script in question only has one large
 texture, the rest is default nuke nodes, so should be
 easy enough to get going remotely.

 Cheers,
 frank



 On 15/08/14 14:24, Fredrik Averpil wrote:
 We're using Amazon. Setting up a Linux machine or
 Windows machine is easy peasy. 

 In Amazon AWS, you need to set up a VPC with VPN
 connection to your local network so that the Amazon
 machines will be able to access your license
 server(s) and possibly scripts such as init.py and
 any plugins which may be installed in an arbitrary
 and local location. 

 Whatever you do, don't make Amazon machines read data
 on the fly from your local file server. That's going
 to be insanely slow. I'm still experimenting with the
 best solution to sync files over to Amazon. You could
 set up a machine (with a bit more storage than the
 render machines) which could act as file server. 



 // Fredrik



 Does anybody have experience with rendering nuke
 via an online service?
 It might save me butt next week :)


 Cheers,
 frank


 -- 
 ohufxLogo 50x50 http://www.ohufx.com  *vfx
 compositing
 http://ohufx.com/index.php/vfx-compositing |
 *workflow customisation and consulting
 http://ohufx.com/index.php/vfx-customising* *



 ___
 Nuke-users mailing list
 Nuke-users@support.thefoundry.co.uk 
 mailto:Nuke-users@support.thefoundry.co.uk, 
 http://forums.thefoundry.co.uk/
 
 http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users

 -- 
 ohufxLogo 50x50 http://www.ohufx.com   *vfx
 compositing
 http://ohufx.com/index.php/vfx-compositing |
 *workflow customisation and consulting
 http://ohufx.com/index.php/vfx-customising* *


 ___
 Nuke-users mailing list
 Nuke-users@support.thefoundry.co.uk
 mailto:Nuke-users@support.thefoundry.co.uk,
 http://forums.thefoundry.co.uk/
 
 http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-users



 ___
 Nuke-users mailing list