Yea, thanks Ivan!

On Aug 19, 2011, at 5:20 PM, Ivan Busquets wrote:

> Nuke's ScanlineRender outputs depth as "1/z", so the data fades into black as 
> it gets further from camera.
> 
> This is so that anything outside the bounding box (generally black) will 
> already have the right value for something that's at infinity, so it will 
> blend nicely with parts of the scene that are far away.
> 
> It sounds like what you're getting from Maya are "real distance" (not 
> normalized) values. So if you want to bring the two in line, you can use a 
> ColorExpression and set the depth channel to be "1/depth.z", and attach that 
> to either the output of your scanline render, or to your Maya renders 
> (depending on which one you want to match).
> 
> Hope that helps.
> 
> Cheers,
> Ivan
> 
> On Fri, Aug 19, 2011 at 5:11 PM, Gary Jaeger <[email protected]> wrote:
> OK, this seems like it should be so easy but I've never tried to match up the 
> nuke depth with a depth pass out of maya. I've done a super-simple scene with 
> just a plane and a camera. In maya the camera is 10 units from the origin 
> (center of the frame). i.e. a camera slightly up on the Y looking down. I've 
> rendered this with a depth pass as well as brought in the geometry and camera 
> into nuke.
> 
> My usual habit is to use a copy node to copy my cameraZ channel into the 
> default depth.Z nuke channel (mistake?). I'm using the zBlur node set to 
> "focal plane setup" to visualize my depth.
> 
> I first assumed I could use the same values in the zBlur node but that 
> doesn't seem to be the case.  I can get the focus plane to be at the same 
> point if I use that Copy node, set the maya zBlur math to be "depth" , and 
> set the focus plane to be 10. This makes sense. Then for the nuke scene (geo, 
> scanline render, etc)  I set the zBlur math to be far=0 and set the focus 
> plane to 0.1 for some reason and the focus planes line up. But I need to 
> adjust the focus plane values in opposite directions.
> 
> it's probably something obvious, but shouldn't these line up? and why 
> wouldn't the nuke scanline use 10 as it's value for the focus plane?
> 
> Seems like I've gone through all the math options trying (and failing) to 
> find something consistent. Any help here?
> 
> 
> . . . . . . . . . . . .
> Gary Jaeger // Core Studio
> 86 Graham Street, Suite 120
> San Francisco, CA 94129
> 415 543 8140
> http://corestudio.com
> 
> _______________________________________________
> 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

. . . . . . . . . . . .
Gary Jaeger // Core Studio
86 Graham Street, Suite 120
San Francisco, CA 94129
415 543 8140
http://corestudio.com   

_______________________________________________
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