using z depth to color adjustment in Nuke?

Here is my question:
I rendered every element with z depth in maya and I want to adjust the colors by z depth in Nuke.
How can I extract z depth and apply it to the color adjusting node?

PS: Nuke 6.2 seems supports Maya Iff file format and can read the Z depth from it.

Nuke 6.2v2 Released (and 6.1v4)

This is a maintenance release of Nuke with feature enhancements and bug fixes.

Version
Nuke 6.2v2

Release Date
21 January 2011

Supported Operating Systems
• Mac OS X 10.5 “Leopard” and 10.6 “Snow Leopard” (32- and 64-bit)
• Windows XP SP2, XP64, Windows 7 64-bit
• Linux RHEL 5.4 64-bi

New Features
There are no new features in this release.

Feature Enhancements
• BUG ID 15699 – QuickTime: Mac OS X and Windows now read encoding and decoding configuration options from the GlobalSettings.csv file that is also editable. This makes it easier to cope with differences between different QuickTime enabled applications. On Mac OS X, the GlobalSettings.csv file is located in the Resources directory of the application bundle. On Windows, the file is located in the same directory as the Nuke executable.
• BUG ID 15951 – An option was added on the Appearance tab in the Preferences to set whether frame numbers should be marked with hashes (#) or printf notation (%0d). Note that if you retrieve a file control’s value in Python it will always be returned in the printf notation. If you want the literal hash version, use knob.fromScript().
• BUG ID 15954 – FrameCycler now has more lookup tables included by default (Lin and Log > sRGB).
• BUG ID 15976 – Time code data is now appended to QuickTime metadata, and Write nodes use this metadata when Write Time Code is turned on.
• BUG ID 16024 – Added SGI files to the list of file types passed directly to FrameCycler for flipbooking.

Bug Fixes
etc….

Release Notes

Product Website

Nuke python undo

Hi! Everyone.

I am learning Nuke python script. And I have very basic question.

1. run python script(use for loop)
2. try to undo.(cmd+Z)
3. the result is not same before run.

I want to go back same situation at once.
Is there good way?

Please advise me!

Attached Files
File Type: py test_python.py (57 Bytes)
File Type: nk test_scene.nk (2.7 KB)

your point of view interest me

Hi everybody,
I need your advice and your POV for a coming work.

The effect that we will produce is kind of a fast back dolly from an extreme CU to a wide shot.
The idea is to start close on the hero finger and in a few frame or maybe a second go backward and discover 60 kids aligned (like in a china choreography, (shaoling gymnastic)) doing the same movement (completely sync). All the camera mouvement and the environement will be done in 3D and composite in Nuke. We will use an export of the camera from maya and place the kids in nuke.

For the effect we will shoot on green screen with RED @ 4K – 16:9
the finish shoot will be in HD
We have 6 kids that we need to duplicate.

My approach is to shoot for the hero (and maybe for his 2 other side kids ) 3 pass with the same choreography. One extreme Close Up, a second medium shot, and the wide shot. For the other kids, a wide shoot will be enough.

In nuke i will assemble the passes and use the 4k resolution of each pass. I will make some time warp and warping to align theme perfectly. Then make a transition between the passes.

After i would like to use the 3D capabilities of nuke to place my 3 kids and the other 57 in a 3D environement. Using a card workfow.

Where i ‘m blocked is that i don’t understand how to keep the 4k resolution and quality of my footage when i will zoom in (or out).

1- Need i make a plate of 4k*3 (12k pixel) and put on a card and zoom with the camera or with a transformGeo?

2- Need i import each pass on a card, align and group them in the 3D space? after zoom with the camera.

So here i am.

If you have any advice, idea, or trick to complete the shot.

Thanks

B

are my exrs scanline or tiled…?

is there a tool to check/view my exr files..?
i also like to know the bit depth…

relighting 2.5D

Hi,

I have watched the dvd from digitaltutors about 2.5D relighting in nuke

I have tried to redo it on a simple scene and I have some problems

the edges of the objects are not cleans, there is a little outline around the objects.

in the dvd, the instructor said to render pointworld pass and normal pass aliased and apply 2 matrix afterwards in nuke.

i did that too but it seems that doesn’t work for me.

I’ve also tried to render with antialiasing and no matrix but it doesn’t work neither.

is anybody have an idea of what I can do to fix the edges

here is the script if you guys want to check

http://www.digitaledge.be/tmp/NUKE_RELIGHTING.rar

thanks for your help

-SeB-

Automatically create folders when rendering

Hi all,

Just wanted to share a very simple script that creates the folder structure defined in the Write node. This can be very usefull when using folders with version numbers or whatever. You won’t get the "Write1: Can’t write, no such directory" error anymore. But be carefull with typo’s!

In menu.py add:

Code:


def createWriteDir():
 import os
 file = nuke.filename(nuke.thisNode())
 dir = os.path.dirname(file)
 osdir = nuke.callbacks.filenameFilter(dir)
 try:
  os.makedirs(osdir)
 except OSError:
  pass


Then in a write node you could manually add: createWriteDir() in the before render input box (Python tab). Or set it as default value for new Write nodes (also in menu.py):

nuke.knobDefault(‘Write.beforeRender’,’createWrite Dir()’)

It should be os independent, I only tested it on Linux and Mac.

Nuke 3D | Layers?

Does anyone know or have any tips to emulate multiple layers like Spec/Reflections/Shadow/Fresnel in Nuke’s 3D system? I’d like to find some work-around to keep my workflow from waiting on these type of renders in Maya. If there is no way then I’ll have to do it, just wondering if there is some way.

I appreciate any help!

Set extension – moving cam | Hint please

Hi,

I have a scene where the camera moves over a field of grass towards and then around some lying actors (I’ve uploaded it here: http://www.youtube.com/watch?v=Tilb1u3_2tc).

now I’d like to make a set extension of the grass to approximately twice the actual width (so I can do a 2d rotate of 360 degrees with full picture).

now I don’t even know where to start really (although i spent quite a time thinking about it :o). I did a camera track of the shot and inserted some plates with projected grass, but due to the rotation of the cam, naturally it doesn’t work for long.

if you could tell me how you’d approach this shot (or tell me if it’s even possible), it would be very much appreciated

change default value of a gizmo

hey guys,

I wrote a simple gizmo to send a script to a terminal to render that on a farm.
In this gizmo you can choose the frame range. How can I change the default value of this. The default value of the start and end frame should be the value which is in the project settings.
But it should be possible to change it manually if needed

cheers